home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 April: Mac OS SDK / Dev.CD Apr 97 SDK1.toast / Development Kits (Disc 1) / MacSNMP / SNMP Transports Dev Kit / SNMP Transport Tech Note next >
MacBinary  |  1995-01-11  |  60.1 KB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Wed Jan 11 06:00:00 1995, modified Wed Jan 11 06:00:00 1995, creator 'HLX2', type 'ONLN', 59354 bytes "SNMP Transport Tech Note" , at 0xe85a 1968 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% dexmagic Picasso 64 Image default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 18 53 4e 4d 50 20 54 | 72 61 6e 73 70 6f 72 74 |..SNMP T|ransport|
|00000010| 20 54 65 63 68 20 4e 6f | 74 65 00 00 00 00 00 00 | Tech No|te......|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 00 e7 da 00 | 00 07 b0 ab 39 6a b0 ab |........|....9j..|
|00000060| 39 6a b0 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |9j......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 73 c0 00 00 |........|....s...|
|00000080| 53 4e 4d 50 20 54 72 61 | 6e 73 70 6f 72 74 73 0d |SNMP Tra|nsports.|
|00000090| 57 72 69 74 74 65 6e 20 | 62 79 3a 09 4d 69 6b 65 |Written |by:.Mike|
|000000a0| 20 52 69 74 74 65 72 20 | 61 6e 64 20 56 69 6e 63 | Ritter |and Vinc|
|000000b0| 65 6e 74 20 4c 75 62 65 | 74 09 4a 61 6e 75 61 72 |ent Lube|t.Januar|
|000000c0| 79 20 31 39 39 33 0d 54 | 68 69 73 20 54 65 63 68 |y 1993.T|his Tech|
|000000d0| 6e 69 63 61 6c 20 4e 6f | 74 65 20 65 78 70 6c 61 |nical No|te expla|
|000000e0| 69 6e 73 20 68 6f 77 20 | 74 6f 20 77 72 69 74 65 |ins how |to write|
|000000f0| 20 61 6e 20 53 4e 4d 50 | 20 28 53 69 6d 70 6c 65 | an SNMP| (Simple|
|00000100| 20 4e 65 74 77 6f 72 6b | 20 4d 61 6e 61 67 65 6d | Network| Managem|
|00000110| 65 6e 74 20 50 72 6f 74 | 6f 63 6f 6c 29 20 54 72 |ent Prot|ocol) Tr|
|00000120| 61 6e 73 70 6f 72 74 2e | 20 41 6e 20 53 4e 4d 50 |ansport.| An SNMP|
|00000130| 20 54 72 61 6e 73 70 6f | 72 74 20 69 73 20 72 65 | Transpo|rt is re|
|00000140| 73 70 6f 6e 73 69 62 6c | 65 20 66 6f 72 20 63 6f |sponsibl|e for co|
|00000150| 6d 6d 75 6e 69 63 61 74 | 69 6e 67 20 62 65 74 77 |mmunicat|ing betw|
|00000160| 65 65 6e 20 74 68 65 20 | 53 4e 4d 50 20 4d 61 6e |een the |SNMP Man|
|00000170| 61 67 65 72 20 61 6e 64 | 20 61 20 70 61 72 74 69 |ager and| a parti|
|00000180| 63 75 6c 61 72 20 6e 65 | 74 77 6f 72 6b 20 6c 61 |cular ne|twork la|
|00000190| 79 65 72 2e 20 20 54 68 | 75 73 2c 20 69 66 20 79 |yer. Th|us, if y|
|000001a0| 6f 75 20 77 65 72 65 20 | 77 72 69 74 69 6e 67 20 |ou were |writing |
|000001b0| 61 20 6e 65 77 20 6e 65 | 74 77 6f 72 6b 20 73 74 |a new ne|twork st|
|000001c0| 61 63 6b 20 66 6f 72 20 | 74 68 65 20 4d 61 63 69 |ack for |the Maci|
|000001d0| 6e 74 6f 73 68 20 61 6e | 64 20 77 61 6e 74 65 64 |ntosh an|d wanted|
|000001e0| 20 69 74 20 74 6f 20 75 | 73 65 20 74 68 65 20 53 | it to u|se the S|
|000001f0| 4e 4d 50 20 4d 61 6e 61 | 67 65 72 2c 20 79 6f 75 |NMP Mana|ger, you|
|00000200| 20 77 6f 75 6c 64 20 77 | 72 69 74 65 20 61 6e 20 | would w|rite an |
|00000210| 53 4e 4d 50 20 54 72 61 | 6e 73 70 6f 72 74 20 66 |SNMP Tra|nsport f|
|00000220| 6f 72 20 79 6f 75 72 20 | 6e 65 74 77 6f 72 6b 20 |or your |network |
|00000230| 73 74 61 63 6b 2e 20 20 | 0d 54 6f 70 69 63 73 0d |stack. |.Topics.|
|00000240| a5 20 43 72 65 61 74 69 | 6e 67 20 61 6e 64 20 69 |. Creati|ng and i|
|00000250| 6e 69 74 69 61 6c 69 7a | 69 6e 67 20 61 6e 20 53 |nitializ|ing an S|
|00000260| 4e 4d 50 20 54 72 61 6e | 73 70 6f 72 74 0d a5 20 |NMP Tran|sport.. |
|00000270| 52 65 61 64 69 6e 67 20 | 61 6e 64 20 57 72 69 74 |Reading |and Writ|
|00000280| 69 6e 67 20 53 4e 4d 50 | 20 50 61 63 6b 65 74 73 |ing SNMP| Packets|
|00000290| 20 0d 49 6e 74 72 6f 64 | 75 63 74 69 6f 6e 0d 49 | .Introd|uction.I|
|000002a0| 74 20 69 73 20 61 73 73 | 75 6d 65 64 20 69 6e 20 |t is ass|umed in |
|000002b0| 74 68 69 73 20 64 6f 63 | 75 6d 65 6e 74 20 74 68 |this doc|ument th|
|000002c0| 61 74 20 79 6f 75 20 75 | 6e 64 65 72 73 74 61 6e |at you u|nderstan|
|000002d0| 64 20 4d 61 63 53 4e 4d | 50 2c 20 6f 62 6a 65 63 |d MacSNM|P, objec|
|000002e0| 74 20 6f 72 69 65 6e 74 | 65 64 20 70 72 6f 67 72 |t orient|ed progr|
|000002f0| 61 6d 6d 69 6e 67 20 61 | 6e 64 20 74 68 65 20 53 |amming a|nd the S|
|00000300| 68 61 72 65 64 20 4c 69 | 62 72 61 72 79 20 4d 61 |hared Li|brary Ma|
|00000310| 6e 61 67 65 72 2e 20 20 | 54 68 65 20 53 4e 4d 50 |nager. |The SNMP|
|00000320| 20 4d 61 6e 61 67 65 72 | 20 69 73 20 62 75 69 6c | Manager| is buil|
|00000330| 74 20 75 73 69 6e 67 20 | 74 68 65 20 53 68 61 72 |t using |the Shar|
|00000340| 65 64 20 4c 69 62 72 61 | 72 79 20 4d 61 6e 61 67 |ed Libra|ry Manag|
|00000350| 65 72 20 61 6e 64 20 69 | 73 20 61 20 73 65 74 20 |er and i|s a set |
|00000360| 6f 66 20 53 68 61 72 65 | 64 20 4c 69 62 72 61 72 |of Share|d Librar|
|00000370| 69 65 73 2e 20 20 54 68 | 65 20 53 4e 4d 50 20 4d |ies. Th|e SNMP M|
|00000380| 61 6e 61 67 65 72 20 73 | 68 61 72 65 64 20 6c 69 |anager s|hared li|
|00000390| 62 72 61 72 79 20 63 6f | 6e 74 61 69 6e 73 20 74 |brary co|ntains t|
|000003a0| 68 65 20 69 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f |he imple|mentatio|
|000003b0| 6e 20 6f 66 20 74 68 65 | 20 62 61 73 65 20 63 6c |n of the| base cl|
|000003c0| 61 73 73 20 66 6f 72 20 | 61 6e 20 53 4e 4d 50 20 |ass for |an SNMP |
|000003d0| 54 72 61 6e 73 70 6f 72 | 74 2e 20 20 59 6f 75 72 |Transpor|t. Your|
|000003e0| 20 74 72 61 6e 73 70 6f | 72 74 20 6d 75 73 74 20 | transpo|rt must |
|000003f0| 62 65 20 61 20 73 75 62 | 63 6c 61 73 73 20 6f 66 |be a sub|class of|
|00000400| 20 74 68 69 73 20 53 4e | 4d 50 20 54 72 61 6e 73 | this SN|MP Trans|
|00000410| 70 6f 72 74 20 63 6c 61 | 73 73 2e 20 20 46 6f 72 |port cla|ss. For|
|00000420| 20 6d 6f 72 65 20 69 6e | 66 6f 72 6d 61 74 69 6f | more in|formatio|
|00000430| 6e 20 6f 6e 20 4d 61 63 | 53 4e 4d 50 20 61 6e 64 |n on Mac|SNMP and|
|00000440| 20 74 68 65 20 53 68 61 | 72 65 64 20 4c 69 62 72 | the Sha|red Libr|
|00000450| 61 72 79 20 4d 61 6e 61 | 67 65 72 20 73 65 65 20 |ary Mana|ger see |
|00000460| 74 68 65 20 45 2e 54 2e | 4f 2e 20 43 44 20 52 4f |the E.T.|O. CD RO|
|00000470| 4d 2e 0d 54 68 69 73 20 | 54 65 63 68 20 4e 6f 74 |M..This |Tech Not|
|00000480| 65 20 70 72 6f 76 69 64 | 65 73 20 73 6f 6d 65 20 |e provid|es some |
|00000490| 61 64 64 69 74 69 6f 6e | 61 6c 20 69 6e 66 6f 72 |addition|al infor|
|000004a0| 6d 61 74 69 6f 6e 20 6e | 65 65 64 65 64 20 74 6f |mation n|eeded to|
|000004b0| 20 63 6f 6e 73 74 72 75 | 63 74 20 61 6e 20 53 4e | constru|ct an SN|
|000004c0| 4d 50 20 54 72 61 6e 73 | 70 6f 72 74 20 66 6f 72 |MP Trans|port for|
|000004d0| 20 61 20 70 61 72 74 69 | 63 75 6c 61 72 20 6e 65 | a parti|cular ne|
|000004e0| 74 77 6f 72 6b 20 73 74 | 61 63 6b 2e 20 20 41 6e |twork st|ack. An|
|000004f0| 20 53 4e 4d 50 20 54 72 | 61 6e 73 70 6f 72 74 20 | SNMP Tr|ansport |
|00000500| 69 73 20 72 65 71 75 69 | 72 65 64 20 74 6f 20 6b |is requi|red to k|
|00000510| 6e 6f 77 20 61 62 6f 75 | 74 20 61 6c 6c 20 6f 66 |now abou|t all of|
|00000520| 20 74 68 65 20 73 70 65 | 63 69 66 69 63 20 69 64 | the spe|cific id|
|00000530| 69 6f 73 79 6e 63 72 61 | 73 69 65 73 20 6f 66 20 |iosyncra|sies of |
|00000540| 53 4e 4d 50 20 66 6f 72 | 20 61 20 70 61 72 74 69 |SNMP for| a parti|
|00000550| 63 75 6c 61 72 20 6e 65 | 74 77 6f 72 6b 20 73 74 |cular ne|twork st|
|00000560| 61 63 6b 2e 20 53 4e 4d | 50 20 77 61 73 20 6f 72 |ack. SNM|P was or|
|00000570| 69 67 69 6e 61 6c 6c 79 | 20 64 65 66 69 6e 65 64 |iginally| defined|
|00000580| 20 74 6f 20 72 75 6e 20 | 6f 76 65 72 20 74 68 65 | to run |over the|
|00000590| 20 54 43 50 20 73 74 61 | 63 6b 20 75 73 69 6e 67 | TCP sta|ck using|
|000005a0| 20 55 44 50 2e 20 20 54 | 68 65 20 49 45 54 46 20 | UDP. T|he IETF |
|000005b0| 28 49 6e 74 65 72 6e 65 | 74 20 45 6e 67 69 6e 65 |(Interne|t Engine|
|000005c0| 65 72 69 6e 67 20 54 61 | 73 6b 20 46 6f 72 63 65 |ering Ta|sk Force|
|000005d0| 29 20 68 61 73 20 61 6c | 73 6f 20 64 65 66 69 6e |) has al|so defin|
|000005e0| 65 64 20 68 6f 77 20 74 | 6f 20 72 75 6e 20 53 4e |ed how t|o run SN|
|000005f0| 4d 50 20 6f 76 65 72 20 | 74 68 72 65 65 20 6f 74 |MP over |three ot|
|00000600| 68 65 72 20 6e 65 74 77 | 6f 72 6b 20 73 74 61 63 |her netw|ork stac|
|00000610| 6b 73 3a 20 41 70 70 6c | 65 54 61 6c 6b 2c 20 49 |ks: Appl|eTalk, I|
|00000620| 50 58 20 61 6e 64 20 4f | 53 49 2e 20 20 54 68 65 |PX and O|SI. The|
|00000630| 73 65 20 6d 65 74 68 6f | 64 73 20 61 72 65 20 64 |se metho|ds are d|
|00000640| 6f 63 75 6d 65 6e 74 65 | 64 20 69 6e 20 64 72 61 |ocumente|d in dra|
|00000650| 66 74 20 52 46 43 73 20 | 70 75 62 6c 69 73 68 65 |ft RFCs |publishe|
|00000660| 64 20 62 79 20 74 68 65 | 20 49 45 54 46 20 61 6e |d by the| IETF an|
|00000670| 64 20 61 72 65 20 6d 6f | 76 69 6e 67 20 66 6f 72 |d are mo|ving for|
|00000680| 77 61 72 64 20 6f 6e 74 | 6f 20 74 68 65 20 73 74 |ward ont|o the st|
|00000690| 61 6e 64 61 72 64 20 74 | 72 61 63 6b 20 6f 66 20 |andard t|rack of |
|000006a0| 64 6f 63 75 6d 65 6e 74 | 73 2e 20 20 54 68 65 72 |document|s. Ther|
|000006b0| 65 20 69 73 20 61 6c 73 | 6f 20 61 6e 20 69 6e 66 |e is als|o an inf|
|000006c0| 6f 72 6d 61 74 69 6f 6e | 61 6c 20 52 46 43 20 74 |ormation|al RFC t|
|000006d0| 68 61 74 20 64 65 73 63 | 72 69 62 65 73 20 77 68 |hat desc|ribes wh|
|000006e0| 61 74 20 6d 75 73 74 20 | 62 65 20 64 65 66 69 6e |at must |be defin|
|000006f0| 65 64 20 74 6f 20 61 6c | 6c 6f 77 20 53 4e 4d 50 |ed to al|low SNMP|
|00000700| 20 74 6f 20 72 75 6e 20 | 6f 76 65 72 20 61 6e 79 | to run |over any|
|00000710| 20 70 61 72 74 69 63 75 | 6c 61 72 20 6e 65 74 77 | particu|lar netw|
|00000720| 6f 72 6b 20 73 74 61 63 | 6b 2e 0d 41 70 70 6c 65 |ork stac|k..Apple|
|00000730| 20 70 72 6f 76 69 64 65 | 73 20 53 4e 4d 50 20 74 | provide|s SNMP t|
|00000740| 72 61 6e 73 70 6f 72 74 | 73 20 74 68 61 74 20 73 |ransport|s that s|
|00000750| 75 70 70 6f 72 74 20 74 | 68 65 20 54 43 50 20 73 |upport t|he TCP s|
|00000760| 74 61 63 6b 20 61 6e 64 | 20 74 68 65 20 41 70 70 |tack and| the App|
|00000770| 6c 65 54 61 6c 6b 20 73 | 74 61 63 6b 2e 20 20 54 |leTalk s|tack. T|
|00000780| 68 65 20 54 43 50 20 53 | 4e 4d 50 20 54 72 61 6e |he TCP S|NMP Tran|
|00000790| 73 70 6f 72 74 20 70 72 | 6f 76 69 64 65 73 20 6b |sport pr|ovides k|
|000007a0| 6e 6f 77 6c 65 64 67 65 | 20 6f 66 20 49 50 20 61 |nowledge| of IP a|
|000007b0| 64 64 72 65 73 73 65 73 | 2c 20 6c 69 73 74 65 6e |ddresses|, listen|
|000007c0| 73 20 6f 6e 20 74 68 65 | 20 77 65 6c 6c 2d 6b 6e |s on the| well-kn|
|000007d0| 6f 77 6e 20 53 4e 4d 50 | 20 73 6f 63 6b 65 74 73 |own SNMP| sockets|
|000007e0| 2c 20 73 65 6e 64 73 20 | 53 4e 4d 50 20 70 61 63 |, sends |SNMP pac|
|000007f0| 6b 65 74 73 20 6f 6e 20 | 55 44 50 2c 20 61 6e 64 |kets on |UDP, and|
|00000800| 20 72 65 73 6f 6c 76 65 | 73 20 61 64 64 72 65 73 | resolve|s addres|
|00000810| 73 65 73 20 69 6e 20 64 | 6f 74 74 65 64 20 6e 6f |ses in d|otted no|
|00000820| 74 61 74 69 6f 6e 20 69 | 6e 74 6f 20 49 50 20 61 |tation i|nto IP a|
|00000830| 64 64 72 65 73 73 65 73 | 20 66 6f 72 20 73 65 6e |ddresses| for sen|
|00000840| 64 69 6e 67 20 54 72 61 | 70 73 2e 20 20 54 68 65 |ding Tra|ps. The|
|00000850| 20 41 70 70 6c 65 54 61 | 6c 6b 20 53 4e 4d 50 20 | AppleTa|lk SNMP |
|00000860| 54 72 61 6e 73 70 6f 72 | 74 20 6c 69 6b 65 77 69 |Transpor|t likewi|
|00000870| 73 65 20 70 72 6f 76 69 | 64 65 73 20 6b 6e 6f 77 |se provi|des know|
|00000880| 6c 65 64 67 65 20 6f 66 | 20 41 70 70 6c 65 54 61 |ledge of| AppleTa|
|00000890| 6c 6b 20 61 64 64 72 65 | 73 73 65 73 2c 20 6c 69 |lk addre|sses, li|
|000008a0| 73 74 65 6e 73 20 6f 6e | 20 74 68 65 20 77 65 6c |stens on| the wel|
|000008b0| 6c 2d 6b 6e 6f 77 6e 20 | 53 4e 4d 50 20 73 6f 63 |l-known |SNMP soc|
|000008c0| 6b 65 74 73 2c 20 73 65 | 6e 64 73 20 53 4e 4d 50 |kets, se|nds SNMP|
|000008d0| 20 70 61 63 6b 65 74 73 | 20 6f 6e 20 44 44 50 2c | packets| on DDP,|
|000008e0| 20 61 6e 64 20 72 65 73 | 6f 6c 76 65 73 20 4e 42 | and res|olves NB|
|000008f0| 50 20 28 4e 61 6d 65 20 | 42 69 6e 64 69 6e 67 20 |P (Name |Binding |
|00000900| 50 72 6f 74 6f 63 6f 6c | 29 20 6e 61 6d 65 73 20 |Protocol|) names |
|00000910| 69 6e 74 6f 20 41 70 70 | 6c 65 54 61 6c 6b 20 61 |into App|leTalk a|
|00000920| 64 64 72 65 73 73 65 73 | 20 66 6f 72 20 73 65 6e |ddresses| for sen|
|00000930| 64 69 6e 67 20 54 72 61 | 70 73 2e 20 20 53 69 6d |ding Tra|ps. Sim|
|00000940| 69 6c 61 72 6c 79 2c 20 | 61 20 6e 65 77 20 53 4e |ilarly, |a new SN|
|00000950| 4d 50 20 54 72 61 6e 73 | 70 6f 72 74 20 77 6f 75 |MP Trans|port wou|
|00000960| 6c 64 20 68 61 76 65 20 | 74 6f 20 70 72 6f 76 69 |ld have |to provi|
|00000970| 64 65 20 74 68 65 73 65 | 20 73 61 6d 65 20 73 65 |de these| same se|
|00000980| 72 76 69 63 65 73 3a 20 | 75 6e 64 65 72 73 74 61 |rvices: |understa|
|00000990| 6e 64 69 6e 67 20 74 68 | 65 20 6e 65 77 20 6e 65 |nding th|e new ne|
|000009a0| 74 77 6f 72 6b 20 61 64 | 64 72 65 73 73 65 73 2c |twork ad|dresses,|
|000009b0| 20 6c 69 73 74 65 6e 69 | 6e 67 20 66 6f 72 20 53 | listeni|ng for S|
|000009c0| 4e 4d 50 20 70 61 63 6b | 65 74 73 2c 20 73 65 6e |NMP pack|ets, sen|
|000009d0| 64 69 6e 67 20 53 4e 4d | 50 20 70 61 63 6b 65 74 |ding SNM|P packet|
|000009e0| 73 2c 20 61 6e 64 20 72 | 65 73 6f 6c 76 69 6e 67 |s, and r|esolving|
|000009f0| 20 73 74 6f 72 65 64 20 | 63 6f 6e 73 6f 6c 65 20 | stored |console |
|00000a00| 61 64 64 72 65 73 73 65 | 73 20 74 6f 20 6e 65 74 |addresse|s to net|
|00000a10| 77 6f 72 6b 20 61 64 64 | 72 65 73 73 65 73 20 66 |work add|resses f|
|00000a20| 6f 72 20 73 65 6e 64 69 | 6e 67 20 54 72 61 70 73 |or sendi|ng Traps|
|00000a30| 2e 0d 53 4e 4d 50 20 54 | 72 61 6e 73 70 6f 72 74 |..SNMP T|ransport|
|00000a40| 73 0d 46 69 67 75 72 65 | 20 31 2e 20 41 6e 20 53 |s.Figure| 1. An S|
|00000a50| 4e 4d 50 20 54 72 61 6e | 73 70 6f 72 74 20 70 72 |NMP Tran|sport pr|
|00000a60| 6f 76 69 64 65 73 20 74 | 68 65 20 69 6e 74 65 72 |ovides t|he inter|
|00000a70| 66 61 63 65 20 62 65 74 | 77 65 65 6e 20 74 68 65 |face bet|ween the|
|00000a80| 20 53 4e 4d 50 20 4d 61 | 6e 61 67 65 72 20 61 6e | SNMP Ma|nager an|
|00000a90| 64 20 61 20 70 61 72 74 | 69 63 75 6c 61 72 20 6e |d a part|icular n|
|00000aa0| 65 74 77 6f 72 6b 20 73 | 74 61 63 6b 2e 0d 43 72 |etwork s|tack..Cr|
|00000ab0| 65 61 74 69 6e 67 20 61 | 6e 20 53 4e 4d 50 20 54 |eating a|n SNMP T|
|00000ac0| 72 61 6e 73 70 6f 72 74 | 0d 54 68 65 20 66 69 6c |ransport|.The fil|
|00000ad0| 65 20 54 72 61 6e 73 70 | 6f 72 74 2e 68 20 64 65 |e Transp|ort.h de|
|00000ae0| 66 69 6e 65 73 20 74 68 | 65 20 53 4e 4d 50 20 54 |fines th|e SNMP T|
|00000af0| 72 61 6e 73 70 6f 72 74 | 20 63 6c 61 73 73 2e 20 |ransport| class. |
|00000b00| 20 54 6f 20 63 72 65 61 | 74 65 20 61 6e 20 53 4e | To crea|te an SN|
|00000b10| 4d 50 20 54 72 61 6e 73 | 70 6f 72 74 20 79 6f 75 |MP Trans|port you|
|00000b20| 20 6d 75 73 74 20 73 75 | 62 63 6c 61 73 73 20 74 | must su|bclass t|
|00000b30| 68 65 20 53 4e 4d 50 20 | 54 72 61 6e 73 70 6f 72 |he SNMP |Transpor|
|00000b40| 74 20 63 6c 61 73 73 2e | 20 20 54 68 65 20 53 68 |t class.| The Sh|
|00000b50| 61 72 65 64 20 4c 69 62 | 72 61 72 79 20 4d 61 6e |ared Lib|rary Man|
|00000b60| 61 67 65 72 20 61 6c 6c | 6f 77 73 20 61 20 72 75 |ager all|ows a ru|
|00000b70| 6e 2d 74 69 6d 65 20 6c | 69 6e 6b 20 6f 66 20 79 |n-time l|ink of y|
|00000b80| 6f 75 72 20 53 4e 4d 50 | 20 54 72 61 6e 73 70 6f |our SNMP| Transpo|
|00000b90| 72 74 20 73 75 62 63 6c | 61 73 73 20 77 69 74 68 |rt subcl|ass with|
|00000ba0| 20 74 68 65 20 62 61 73 | 65 20 6f 62 6a 65 63 74 | the bas|e object|
|00000bb0| 20 53 4e 4d 50 20 54 72 | 61 6e 73 70 6f 72 74 20 | SNMP Tr|ansport |
|00000bc0| 70 72 6f 76 69 64 65 64 | 20 69 6e 20 74 68 65 20 |provided| in the |
|00000bd0| 53 4e 4d 50 20 4d 61 6e | 61 67 65 72 20 53 68 61 |SNMP Man|ager Sha|
|00000be0| 72 65 64 20 4c 69 62 72 | 61 72 79 2e 20 20 54 68 |red Libr|ary. Th|
|00000bf0| 65 20 64 65 66 69 6e 69 | 74 69 6f 6e 20 6f 72 20 |e defini|tion or |
|00000c00| 74 68 65 20 53 4e 4d 50 | 20 54 72 61 73 6e 70 6f |the SNMP| Trasnpo|
|00000c10| 72 74 20 6f 62 6a 65 63 | 74 20 69 73 20 61 73 20 |rt objec|t is as |
|00000c20| 66 6f 6c 6c 6f 77 73 3a | 0d 2f 2a 2a 2a 2a 2a 2a |follows:|./******|
|00000c30| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000c40| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000c50| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000c60| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000c70| 0d 2a 2a 20 43 6c 61 73 | 73 20 54 53 4e 4d 50 54 |.** Clas|s TSNMPT|
|00000c80| 72 61 6e 73 70 6f 72 74 | 20 0d 2a 2a 2a 2a 2a 2a |ransport| .******|
|00000c90| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000ca0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000cb0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000cc0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000cd0| 2a 2f 0d 23 64 65 66 69 | 6e 65 20 6b 54 53 4e 4d |*/.#defi|ne kTSNM|
|00000ce0| 50 54 72 61 6e 73 70 6f | 72 74 49 44 20 09 22 73 |PTranspo|rtID ."s|
|00000cf0| 6e 6d 70 3a 6d 67 72 24 | 54 53 4e 4d 50 54 72 61 |nmp:mgr$|TSNMPTra|
|00000d00| 6e 73 22 0d 23 64 65 66 | 69 6e 65 20 6b 4c 49 42 |ns".#def|ine kLIB|
|00000d10| 5f 54 72 61 6e 73 49 44 | 20 20 09 22 73 6e 6d 70 |_TransID| ."snmp|
|00000d20| 3a 74 72 61 6e 73 24 22 | 09 2f 2f 20 4c 69 62 72 |:trans$"|.// Libr|
|00000d30| 61 72 79 20 49 64 20 66 | 6f 72 20 61 6e 20 53 4e |ary Id f|or an SN|
|00000d40| 4d 50 20 54 72 61 6e 73 | 70 6f 72 74 20 0d 63 6c |MP Trans|port .cl|
|00000d50| 61 73 73 20 54 53 4e 4d | 50 54 72 61 6e 73 70 6f |ass TSNM|PTranspo|
|00000d60| 72 74 20 3a 20 70 75 62 | 6c 69 63 20 54 44 79 6e |rt : pub|lic TDyn|
|00000d70| 61 6d 69 63 20 0d 7b 0d | 70 75 62 6c 69 63 3a 0d |amic .{.|public:.|
|00000d80| 09 0d 09 09 09 09 54 53 | 4e 4d 50 54 72 61 6e 73 |......TS|NMPTrans|
|00000d90| 70 6f 72 74 28 29 3b 0d | 09 76 69 72 74 75 61 6c |port();.|.virtual|
|00000da0| 09 09 7e 54 53 4e 4d 50 | 54 72 61 6e 73 70 6f 72 |..~TSNMP|Transpor|
|00000db0| 74 28 29 3b 0d 09 76 69 | 72 74 75 61 6c 20 42 6f |t();..vi|rtual Bo|
|00000dc0| 6f 6c 65 61 6e 09 49 73 | 56 61 6c 69 64 28 29 20 |olean.Is|Valid() |
|00000dd0| 63 6f 6e 73 74 3b 09 09 | 2f 2f 20 72 65 74 75 72 |const;..|// retur|
|00000de0| 6e 73 20 76 61 6c 69 64 | 20 6f 72 20 6e 6f 74 09 |ns valid| or not.|
|00000df0| 0d 09 76 69 72 74 75 61 | 6c 20 4f 53 45 72 72 20 |..virtua|l OSErr |
|00000e00| 09 49 6e 69 74 53 4e 4d | 50 54 72 61 6e 73 70 6f |.InitSNM|PTranspo|
|00000e10| 72 74 28 09 0d 09 09 54 | 72 61 6e 73 70 6f 72 74 |rt(....T|ransport|
|00000e20| 54 61 67 09 09 61 54 61 | 67 2c 0d 09 09 54 49 41 |Tag..aTa|g,...TIA|
|00000e30| 64 64 72 65 73 73 50 74 | 72 09 09 61 54 72 61 70 |ddressPt|r..aTrap|
|00000e40| 53 6f 63 6b 65 74 50 74 | 72 2c 0d 09 09 54 49 41 |SocketPt|r,...TIA|
|00000e50| 64 64 72 65 73 73 50 74 | 72 09 09 61 52 65 71 53 |ddressPt|r..aReqS|
|00000e60| 6f 63 6b 65 74 50 74 72 | 2c 0d 09 09 42 6f 6f 6c |ocketPtr|,...Bool|
|00000e70| 65 61 6e 09 09 61 68 61 | 6e 64 6c 65 73 72 65 73 |ean..aha|ndlesres|
|00000e80| 6f 6c 75 74 69 6f 6e 2c | 0d 09 09 73 68 6f 72 74 |olution,|...short|
|00000e90| 09 09 09 61 57 72 69 74 | 65 62 75 66 73 69 7a 65 |...aWrit|ebufsize|
|00000ea0| 2c 0d 09 09 54 72 61 6e | 73 70 6f 72 74 52 57 50 |,...Tran|sportRWP|
|00000eb0| 72 6f 63 50 74 72 09 61 | 57 72 69 74 65 50 72 6f |rocPtr.a|WritePro|
|00000ec0| 63 50 74 72 2c 0d 09 09 | 73 68 6f 72 74 09 09 09 |cPtr,...|short...|
|00000ed0| 61 4e 75 6d 6f 66 52 65 | 61 64 73 2c 0d 09 09 73 |aNumofRe|ads,...s|
|00000ee0| 68 6f 72 74 09 09 09 61 | 52 65 61 64 54 49 41 64 |hort...a|ReadTIAd|
|00000ef0| 64 72 53 52 43 6d 61 78 | 2c 0d 09 09 73 68 6f 72 |drSRCmax|,...shor|
|00000f00| 74 09 09 09 61 52 65 61 | 64 54 49 41 64 64 72 44 |t...aRea|dTIAddrD|
|00000f10| 45 53 54 6d 61 78 2c 0d | 09 09 73 68 6f 72 74 09 |ESTmax,.|..short.|
|00000f20| 09 09 61 52 65 61 64 62 | 75 66 73 69 7a 65 2c 0d |..aReadb|ufsize,.|
|00000f30| 09 09 54 72 61 6e 73 70 | 6f 72 74 52 57 50 72 6f |..Transp|ortRWPro|
|00000f40| 63 50 74 72 09 61 52 65 | 61 64 50 72 6f 63 50 74 |cPtr.aRe|adProcPt|
|00000f50| 72 29 3b 0d 09 09 0d 09 | 76 69 72 74 75 61 6c 20 |r);.....|virtual |
|00000f60| 76 6f 69 64 09 09 53 4e | 4d 50 57 72 69 74 65 44 |void..SN|MPWriteD|
|00000f70| 6f 6e 65 28 53 4e 4d 50 | 54 72 61 6e 73 70 6f 72 |one(SNMP|Transpor|
|00000f80| 74 42 6c 6f 63 6b 50 74 | 72 20 73 6e 6d 70 50 74 |tBlockPt|r snmpPt|
|00000f90| 72 29 3b 0d 09 76 69 72 | 74 75 61 6c 20 76 6f 69 |r);..vir|tual voi|
|00000fa0| 64 09 09 53 4e 4d 50 52 | 65 61 64 44 6f 6e 65 28 |d..SNMPR|eadDone(|
|00000fb0| 53 4e 4d 50 54 72 61 6e | 73 70 6f 72 74 42 6c 6f |SNMPTran|sportBlo|
|00000fc0| 63 6b 50 74 72 20 73 6e | 6d 70 50 74 72 29 3b 0d |ckPtr sn|mpPtr);.|
|00000fd0| 09 0d 09 54 53 4e 4d 50 | 4d 61 6e 61 67 65 72 50 |...TSNMP|ManagerP|
|00000fe0| 72 76 2a 09 66 53 4e 4d | 50 4d 61 6e 61 67 65 72 |rv*.fSNM|PManager|
|00000ff0| 50 74 72 3b 0d 09 09 09 | 09 0d 66 72 69 65 6e 64 |Ptr;....|..friend|
|00001000| 20 54 53 4e 4d 50 4d 61 | 6e 61 67 65 72 50 72 76 | TSNMPMa|nagerPrv|
|00001010| 3b 0d 70 72 6f 74 65 63 | 74 65 64 3a 0d 09 09 42 |;.protec|ted:...B|
|00001020| 6f 6f 6c 65 61 6e 09 66 | 56 61 6c 69 64 3b 0d 09 |oolean.f|Valid;..|
|00001030| 09 42 6f 6f 6c 65 61 6e | 09 66 68 61 6e 64 6c 65 |.Boolean|.fhandle|
|00001040| 73 72 65 73 6f 6c 75 74 | 69 6f 6e 3b 0d 09 09 73 |sresolut|ion;...s|
|00001050| 68 6f 72 74 09 09 66 4e | 75 6d 6f 66 52 65 61 64 |hort..fN|umofRead|
|00001060| 73 3b 0d 09 09 73 68 6f | 72 74 09 09 66 52 65 61 |s;...sho|rt..fRea|
|00001070| 64 54 49 41 64 64 72 53 | 52 43 6d 61 78 3b 0d 09 |dTIAddrS|RCmax;..|
|00001080| 09 73 68 6f 72 74 09 09 | 66 52 65 61 64 54 49 41 |.short..|fReadTIA|
|00001090| 64 64 72 44 45 53 54 6d | 61 78 3b 0d 09 09 73 68 |ddrDESTm|ax;...sh|
|000010a0| 6f 72 74 09 09 66 52 65 | 61 64 62 75 66 73 69 7a |ort..fRe|adbufsiz|
|000010b0| 65 3b 0d 09 09 73 68 6f | 72 74 09 09 66 57 72 69 |e;...sho|rt..fWri|
|000010c0| 74 65 62 75 66 73 69 7a | 65 3b 0d 70 72 69 76 61 |tebufsiz|e;.priva|
|000010d0| 74 65 3a 0d 09 09 0d 09 | 09 54 72 61 6e 73 70 6f |te:.....|.Transpo|
|000010e0| 72 74 54 61 67 09 09 66 | 54 61 67 3b 0d 09 09 54 |rtTag..f|Tag;...T|
|000010f0| 49 41 64 64 72 65 73 73 | 50 74 72 09 09 66 54 72 |IAddress|Ptr..fTr|
|00001100| 61 70 53 6f 63 6b 65 74 | 50 74 72 3b 0d 09 09 54 |apSocket|Ptr;...T|
|00001110| 49 41 64 64 72 65 73 73 | 50 74 72 09 09 66 52 65 |IAddress|Ptr..fRe|
|00001120| 71 53 6f 63 6b 65 74 50 | 74 72 3b 0d 09 09 54 72 |qSocketP|tr;...Tr|
|00001130| 61 6e 73 70 6f 72 74 52 | 57 50 72 6f 63 50 74 72 |ansportR|WProcPtr|
|00001140| 09 66 57 72 69 74 65 50 | 72 6f 63 50 74 72 3b 0d |.fWriteP|rocPtr;.|
|00001150| 09 09 54 72 61 6e 73 70 | 6f 72 74 52 57 50 72 6f |..Transp|ortRWPro|
|00001160| 63 50 74 72 09 66 52 65 | 61 64 50 72 6f 63 50 74 |cPtr.fRe|adProcPt|
|00001170| 72 3b 0d 7d 3b 0d 54 6f | 20 73 74 61 72 74 20 61 |r;.};.To| start a|
|00001180| 6e 20 53 4e 4d 50 20 54 | 72 61 6e 73 70 6f 72 74 |n SNMP T|ransport|
|00001190| 20 79 6f 75 20 6d 75 73 | 74 20 69 6e 73 74 61 6e | you mus|t instan|
|000011a0| 74 69 61 74 65 20 69 74 | 2e 20 20 46 6f 72 20 74 |tiate it|. For t|
|000011b0| 68 65 20 41 70 70 6c 65 | 54 61 6c 6b 20 53 4e 4d |he Apple|Talk SNM|
|000011c0| 50 20 54 72 61 6e 73 70 | 6f 72 74 20 77 65 20 69 |P Transp|ort we i|
|000011d0| 6e 73 74 61 6c 6c 20 61 | 20 70 72 6f 63 65 73 73 |nstall a| process|
|000011e0| 20 6f 6e 20 74 68 65 20 | 41 70 70 6c 65 54 61 6c | on the |AppleTal|
|000011f0| 6b 20 74 72 61 6e 73 69 | 74 69 6f 6e 20 71 75 65 |k transi|tion que|
|00001200| 75 65 20 77 68 69 63 68 | 20 74 65 6c 6c 73 20 75 |ue which| tells u|
|00001210| 73 20 77 68 65 6e 20 41 | 70 70 6c 65 54 61 6c 6b |s when A|ppleTalk|
|00001220| 20 69 73 20 63 6f 6d 69 | 6e 67 20 75 70 20 6f 72 | is comi|ng up or|
|00001230| 20 67 6f 69 6e 67 20 64 | 6f 77 6e 20 61 6e 64 20 | going d|own and |
|00001240| 69 6e 73 74 61 6e 74 69 | 61 74 65 20 6f 72 20 64 |instanti|ate or d|
|00001250| 65 73 74 72 6f 79 20 74 | 68 65 20 54 72 61 6e 73 |estroy t|he Trans|
|00001260| 70 6f 72 74 20 61 73 20 | 61 70 70 72 6f 70 72 69 |port as |appropri|
|00001270| 61 74 65 2e 20 20 46 6f | 72 20 74 68 65 20 54 43 |ate. Fo|r the TC|
|00001280| 50 20 53 4e 4d 50 20 54 | 72 61 6e 73 70 6f 72 74 |P SNMP T|ransport|
|00001290| 2c 20 61 6e 20 49 4e 49 | 54 33 31 20 69 6e 73 74 |, an INI|T31 inst|
|000012a0| 61 6e 74 69 61 74 65 73 | 20 20 74 68 65 20 54 72 |antiates| the Tr|
|000012b0| 61 6e 73 70 6f 72 74 20 | 61 6e 64 20 69 74 20 69 |ansport |and it i|
|000012c0| 73 20 6e 65 76 65 72 20 | 64 65 73 74 72 6f 79 65 |s never |destroye|
|000012d0| 64 2e 20 20 46 6f 72 20 | 79 6f 75 72 20 54 72 61 |d. For |your Tra|
|000012e0| 6e 73 70 6f 72 74 20 79 | 6f 75 20 6d 75 73 74 20 |nsport y|ou must |
|000012f0| 70 72 6f 76 69 64 65 20 | 74 68 65 20 63 6f 64 65 |provide |the code|
|00001300| 20 74 68 61 74 20 69 6e | 73 74 61 6e 74 69 61 74 | that in|stantiat|
|00001310| 65 73 20 61 6e 64 20 64 | 65 73 74 72 6f 79 73 20 |es and d|estroys |
|00001320| 79 6f 75 72 20 54 72 61 | 6e 73 70 6f 72 74 2e 0d |your Tra|nsport..|
|00001330| 57 68 65 6e 20 61 20 54 | 72 61 6e 73 70 6f 72 74 |When a T|ransport|
|00001340| 20 69 73 20 69 6e 73 74 | 61 6e 74 69 61 74 65 64 | is inst|antiated|
|00001350| 20 74 68 65 20 62 61 73 | 65 20 63 6c 61 73 73 20 | the bas|e class |
|00001360| 63 6f 6e 73 74 72 75 63 | 74 6f 72 20 69 73 20 63 |construc|tor is c|
|00001370| 61 6c 6c 65 64 20 66 69 | 72 73 74 2e 20 20 54 68 |alled fi|rst. Th|
|00001380| 65 20 62 61 73 65 20 63 | 6c 61 73 73 20 63 6f 6e |e base c|lass con|
|00001390| 73 74 72 75 63 74 6f 72 | 20 66 69 6c 6c 73 20 69 |structor| fills i|
|000013a0| 6e 20 74 68 65 20 66 53 | 4e 4d 50 4d 61 6e 61 67 |n the fS|NMPManag|
|000013b0| 65 72 50 74 72 20 66 69 | 65 6c 64 20 77 69 74 68 |erPtr fi|eld with|
|000013c0| 20 61 20 70 6f 69 6e 74 | 65 72 20 74 6f 20 61 20 | a point|er to a |
|000013d0| 63 6c 61 73 73 20 54 53 | 4e 4d 50 4d 61 6e 61 67 |class TS|NMPManag|
|000013e0| 65 72 50 72 76 2c 20 77 | 68 69 63 68 20 63 61 6e |erPrv, w|hich can|
|000013f0| 20 62 65 20 63 61 73 74 | 20 74 6f 20 61 20 70 6f | be cast| to a po|
|00001400| 69 6e 74 65 72 20 74 6f | 20 74 68 65 20 63 6c 61 |inter to| the cla|
|00001410| 73 73 20 54 53 4e 4d 50 | 4d 61 6e 61 67 65 72 20 |ss TSNMP|Manager |
|00001420| 64 65 66 69 6e 65 64 20 | 69 6e 20 54 53 4e 4d 50 |defined |in TSNMP|
|00001430| 2e 68 2e 20 20 54 68 69 | 73 20 70 6f 69 6e 74 65 |.h. Thi|s pointe|
|00001440| 72 20 63 61 6e 20 62 65 | 20 75 73 65 64 20 74 6f |r can be| used to|
|00001450| 20 61 63 63 65 73 73 20 | 74 68 65 20 6d 65 6d 62 | access |the memb|
|00001460| 65 72 73 20 6f 66 20 74 | 68 65 20 54 53 4e 4d 50 |ers of t|he TSNMP|
|00001470| 4d 61 6e 61 67 65 72 20 | 63 6c 61 73 73 2e 20 20 |Manager |class. |
|00001480| 54 68 65 20 63 6f 6e 73 | 74 72 75 63 74 6f 72 20 |The cons|tructor |
|00001490| 61 6c 73 6f 20 61 64 64 | 73 20 61 20 70 6f 69 6e |also add|s a poin|
|000014a0| 74 65 72 20 74 6f 20 79 | 6f 75 72 20 53 4e 4d 50 |ter to y|our SNMP|
|000014b0| 20 54 72 61 6e 73 70 6f | 72 74 20 6f 62 6a 65 63 | Transpo|rt objec|
|000014c0| 74 20 74 6f 20 61 20 71 | 75 65 75 65 20 6f 66 20 |t to a q|ueue of |
|000014d0| 74 72 61 6e 73 70 6f 72 | 74 73 20 73 6f 20 74 68 |transpor|ts so th|
|000014e0| 61 74 20 69 74 20 63 61 | 6e 20 66 69 6e 64 20 79 |at it ca|n find y|
|000014f0| 6f 75 20 6c 61 74 65 72 | 2c 20 61 6e 64 20 69 66 |ou later|, and if|
|00001500| 20 65 76 65 72 79 74 68 | 69 6e 67 20 77 6f 72 6b | everyth|ing work|
|00001510| 65 64 2c 20 73 65 74 73 | 20 74 68 65 20 66 56 61 |ed, sets| the fVa|
|00001520| 6c 69 64 20 66 69 65 6c | 64 20 74 6f 20 74 72 75 |lid fiel|d to tru|
|00001530| 65 2e 20 20 59 6f 75 72 | 20 63 6f 6e 73 74 72 75 |e. Your| constru|
|00001540| 63 74 6f 72 20 69 73 20 | 74 68 65 6e 20 63 61 6c |ctor is |then cal|
|00001550| 6c 65 64 2e 20 49 66 20 | 74 68 65 20 66 56 61 6c |led. If |the fVal|
|00001560| 69 64 20 66 69 65 6c 64 | 20 69 73 20 6e 6f 74 20 |id field| is not |
|00001570| 73 65 74 20 74 6f 20 74 | 72 75 65 20 6f 6e 20 74 |set to t|rue on t|
|00001580| 68 65 20 65 6e 74 72 61 | 6e 63 65 20 74 6f 20 79 |he entra|nce to y|
|00001590| 6f 75 72 20 63 6f 6e 73 | 74 72 75 63 74 6f 72 2c |our cons|tructor,|
|000015a0| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 62 61 69 6c | you sho|uld bail|
|000015b0| 20 6f 75 74 20 6f 66 20 | 74 68 65 20 63 6f 6e 73 | out of |the cons|
|000015c0| 74 72 75 63 74 6f 72 20 | 69 6d 6d 65 64 69 61 74 |tructor |immediat|
|000015d0| 65 6c 79 2e 20 20 49 66 | 20 79 6f 75 72 20 63 6f |ely. If| your co|
|000015e0| 6e 73 74 72 75 63 74 6f | 72 20 66 61 69 6c 73 20 |nstructo|r fails |
|000015f0| 66 6f 72 20 73 6f 6d 65 | 20 72 65 61 73 6f 6e 2c |for some| reason,|
|00001600| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 73 65 74 20 | you sho|uld set |
|00001610| 74 68 65 20 66 56 61 6c | 69 64 20 66 69 65 6c 64 |the fVal|id field|
|00001620| 20 74 6f 20 66 61 6c 73 | 65 2e 20 20 54 68 65 20 | to fals|e. The |
|00001630| 53 68 61 72 65 64 20 4c | 69 62 72 61 72 79 20 4d |Shared L|ibrary M|
|00001640| 61 6e 61 67 65 72 20 77 | 69 6c 6c 20 74 68 65 6e |anager w|ill then|
|00001650| 20 63 6c 65 61 6e 20 75 | 70 20 74 68 65 20 6f 62 | clean u|p the ob|
|00001660| 6a 65 63 74 20 73 6f 20 | 74 68 61 74 20 61 20 70 |ject so |that a p|
|00001670| 61 72 74 69 61 6c 6c 79 | 20 63 6f 6e 73 74 72 75 |artially| constru|
|00001680| 63 74 65 64 20 6f 6e 65 | 20 64 6f 65 73 20 6e 6f |cted one| does no|
|00001690| 74 20 72 65 6d 61 69 6e | 2e 0d 49 6e 69 74 69 61 |t remain|..Initia|
|000016a0| 6c 69 7a 69 6e 67 20 61 | 6e 20 53 4e 4d 50 20 54 |lizing a|n SNMP T|
|000016b0| 72 61 6e 73 70 6f 72 74 | 0d 41 66 74 65 72 20 79 |ransport|.After y|
|000016c0| 6f 75 72 20 54 72 61 6e | 73 70 6f 72 74 20 69 73 |our Tran|sport is|
|000016d0| 20 63 6f 6e 73 74 72 75 | 63 74 65 64 20 69 74 20 | constru|cted it |
|000016e0| 6d 75 73 74 20 62 65 20 | 69 6e 69 74 69 61 6c 69 |must be |initiali|
|000016f0| 7a 65 64 2e 20 20 59 6f | 75 72 20 74 72 61 6e 73 |zed. Yo|ur trans|
|00001700| 70 6f 72 74 20 77 69 6c | 6c 20 6e 6f 74 20 77 6f |port wil|l not wo|
|00001710| 72 6b 20 75 6e 74 69 6c | 20 49 6e 69 74 53 4e 4d |rk until| InitSNM|
|00001720| 50 54 72 61 6e 73 70 6f | 72 74 28 29 20 69 73 20 |PTranspo|rt() is |
|00001730| 63 61 6c 6c 65 64 2e 20 | 20 20 54 68 69 73 20 72 |called. | This r|
|00001740| 6f 75 74 69 6e 65 20 73 | 65 74 73 20 61 6c 6c 20 |outine s|ets all |
|00001750| 6f 66 20 74 68 65 20 66 | 69 65 6c 64 73 20 69 6e |of the f|ields in|
|00001760| 20 74 68 65 20 53 4e 4d | 50 20 54 72 61 6e 73 70 | the SNM|P Transp|
|00001770| 6f 72 74 20 66 72 6f 6d | 20 74 68 65 20 70 61 72 |ort from| the par|
|00001780| 61 6d 65 74 65 72 20 76 | 61 6c 75 65 73 20 74 68 |ameter v|alues th|
|00001790| 61 74 20 79 6f 75 20 70 | 61 73 73 20 69 6e 2e 20 |at you p|ass in. |
|000017a0| 20 59 6f 75 20 6d 75 73 | 74 20 63 61 6c 6c 20 74 | You mus|t call t|
|000017b0| 68 65 20 69 6e 68 65 72 | 69 74 65 64 20 49 6e 69 |he inher|ited Ini|
|000017c0| 74 53 4e 4d 50 54 72 61 | 6e 73 70 6f 72 74 20 6d |tSNMPTra|nsport m|
|000017d0| 65 6d 62 65 72 20 66 75 | 6e 63 74 69 6f 6e 20 69 |ember fu|nction i|
|000017e0| 66 20 79 6f 75 20 6f 76 | 65 72 72 69 64 65 20 69 |f you ov|erride i|
|000017f0| 74 2e 20 20 54 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |t. The |followin|
|00001800| 67 20 66 69 65 6c 64 73 | 20 6d 75 73 74 20 62 65 |g fields| must be|
|00001810| 20 73 65 74 2e 0d 2d 3e | 09 54 72 61 6e 73 70 6f | set..->|.Transpo|
|00001820| 72 74 54 61 67 09 09 61 | 54 61 67 0d 41 20 6c 6f |rtTag..a|Tag.A lo|
|00001830| 6e 67 20 74 68 61 74 20 | 75 6e 69 71 75 65 6c 79 |ng that |uniquely|
|00001840| 20 69 64 65 6e 74 69 66 | 69 65 73 20 61 20 74 72 | identif|ies a tr|
|00001850| 61 6e 73 70 6f 72 74 20 | 28 61 6e 61 6c 6f 67 20 |ansport |(analog |
|00001860| 74 6f 20 4f 53 54 79 70 | 65 29 0d 2d 3e 09 54 49 |to OSTyp|e).->.TI|
|00001870| 41 64 64 72 65 73 73 50 | 74 72 09 09 61 54 72 61 |AddressP|tr..aTra|
|00001880| 70 53 6f 63 6b 65 74 50 | 74 72 20 0d 4f 70 61 71 |pSocketP|tr .Opaq|
|00001890| 75 65 20 61 64 64 72 65 | 73 73 20 6f 66 20 77 68 |ue addre|ss of wh|
|000018a0| 65 72 65 20 74 68 65 20 | 54 72 61 6e 73 70 6f 72 |ere the |Transpor|
|000018b0| 74 20 6c 69 73 74 65 6e | 73 20 66 6f 72 20 54 72 |t listen|s for Tr|
|000018c0| 61 70 73 0d 2d 3e 09 54 | 49 41 64 64 72 65 73 73 |aps.->.T|IAddress|
|000018d0| 50 74 72 09 09 61 52 65 | 71 53 6f 63 6b 65 74 50 |Ptr..aRe|qSocketP|
|000018e0| 74 72 0d 4f 70 61 71 75 | 65 20 61 64 64 72 65 73 |tr.Opaqu|e addres|
|000018f0| 73 20 6f 66 20 77 68 65 | 72 65 20 74 68 65 20 54 |s of whe|re the T|
|00001900| 72 61 6e 73 70 6f 72 74 | 20 6c 69 73 74 65 6e 73 |ransport| listens|
|00001910| 20 66 6f 72 20 52 65 71 | 75 65 73 74 73 0d 2d 3e | for Req|uests.->|
|00001920| 09 42 6f 6f 6c 65 61 6e | 09 09 09 61 68 61 6e 64 |.Boolean|...ahand|
|00001930| 6c 65 73 72 65 73 6f 6c | 75 74 69 6f 6e 0d 54 72 |lesresol|ution.Tr|
|00001940| 75 65 20 69 66 20 74 68 | 65 20 74 72 61 6e 73 70 |ue if th|e transp|
|00001950| 6f 72 74 20 63 61 6e 20 | 73 65 6e 64 20 54 72 61 |ort can |send Tra|
|00001960| 70 73 0d 2d 3e 09 73 68 | 6f 72 74 09 09 09 61 57 |ps.->.sh|ort...aW|
|00001970| 72 69 74 65 62 75 66 73 | 69 7a 65 0d 4d 61 78 69 |ritebufs|ize.Maxi|
|00001980| 6d 75 6d 20 73 69 7a 65 | 20 6f 66 20 77 72 69 74 |mum size| of writ|
|00001990| 65 20 62 75 66 66 65 72 | 73 0d 2d 3e 09 54 72 61 |e buffer|s.->.Tra|
|000019a0| 6e 73 70 6f 72 74 52 57 | 50 72 6f 63 50 74 72 09 |nsportRW|ProcPtr.|
|000019b0| 61 57 72 69 74 65 50 72 | 6f 63 50 74 72 0d 41 64 |aWritePr|ocPtr.Ad|
|000019c0| 64 72 65 73 73 20 6f 66 | 20 74 68 65 20 77 72 69 |dress of| the wri|
|000019d0| 74 65 20 70 72 6f 63 65 | 64 75 72 65 0d 2d 3e 09 |te proce|dure.->.|
|000019e0| 73 68 6f 72 74 09 09 09 | 61 4e 75 6d 6f 66 52 65 |short...|aNumofRe|
|000019f0| 61 64 73 0d 4d 61 78 69 | 6d 75 6d 20 6e 75 6d 62 |ads.Maxi|mum numb|
|00001a00| 65 72 20 6f 66 20 72 65 | 61 64 73 20 69 73 73 75 |er of re|ads issu|
|00001a10| 65 64 20 61 74 20 6f 6e | 63 65 0d 2d 3e 09 73 68 |ed at on|ce.->.sh|
|00001a20| 6f 72 74 09 09 09 61 52 | 65 61 64 54 49 41 64 64 |ort...aR|eadTIAdd|
|00001a30| 72 53 52 43 6d 61 78 0d | 4d 61 78 69 6d 75 6d 20 |rSRCmax.|Maximum |
|00001a40| 6c 65 6e 67 74 68 20 6f | 66 20 73 6f 75 72 63 65 |length o|f source|
|00001a50| 20 61 64 64 72 65 73 73 | 20 66 6f 72 20 72 65 61 | address| for rea|
|00001a60| 64 20 6f 70 65 72 61 74 | 69 6f 6e 73 0d 2d 3e 09 |d operat|ions.->.|
|00001a70| 73 68 6f 72 74 09 09 09 | 61 52 65 61 64 54 49 41 |short...|aReadTIA|
|00001a80| 64 64 72 44 45 53 54 6d | 61 78 0d 4d 61 78 69 6d |ddrDESTm|ax.Maxim|
|00001a90| 75 6d 20 6c 65 6e 67 74 | 68 20 6f 66 20 64 65 73 |um lengt|h of des|
|00001aa0| 74 69 6e 61 74 69 6f 6e | 20 61 64 64 72 65 73 73 |tination| address|
|00001ab0| 20 66 6f 72 20 72 65 61 | 64 20 6f 70 65 72 61 74 | for rea|d operat|
|00001ac0| 69 6f 6e 73 0d 2d 3e 09 | 73 68 6f 72 74 09 09 09 |ions.->.|short...|
|00001ad0| 61 52 65 61 64 62 75 66 | 73 69 7a 65 0d 4d 61 78 |aReadbuf|size.Max|
|00001ae0| 69 6d 75 6d 20 73 69 7a | 65 20 6f 66 20 61 20 72 |imum siz|e of a r|
|00001af0| 65 61 64 20 62 75 66 66 | 65 72 0d 2d 3e 09 54 72 |ead buff|er.->.Tr|
|00001b00| 61 6e 73 70 6f 72 74 52 | 57 50 72 6f 63 50 74 72 |ansportR|WProcPtr|
|00001b10| 09 09 61 52 65 61 64 50 | 72 6f 63 50 74 72 0d 41 |..aReadP|rocPtr.A|
|00001b20| 64 64 72 65 73 73 20 6f | 66 20 74 68 65 20 72 65 |ddress o|f the re|
|00001b30| 61 64 20 70 72 6f 63 65 | 64 75 72 65 0d 49 74 20 |ad proce|dure.It |
|00001b40| 69 73 20 72 65 63 6f 6d | 6d 65 6e 64 65 64 20 74 |is recom|mended t|
|00001b50| 68 61 74 20 74 68 65 20 | 54 72 61 6e 73 70 6f 72 |hat the |Transpor|
|00001b60| 74 54 61 67 20 62 65 20 | 66 6f 75 72 20 68 75 6d |tTag be |four hum|
|00001b70| 61 6e 20 72 65 61 64 61 | 62 6c 65 20 41 53 43 49 |an reada|ble ASCI|
|00001b80| 49 20 63 68 61 72 61 63 | 74 65 72 73 20 74 68 61 |I charac|ters tha|
|00001b90| 74 20 64 65 73 63 72 69 | 62 65 20 74 68 65 20 6e |t descri|be the n|
|00001ba0| 65 74 77 6f 72 6b 20 6c | 61 79 65 72 20 74 68 61 |etwork l|ayer tha|
|00001bb0| 74 20 74 68 65 20 54 72 | 61 6e 73 70 6f 72 74 20 |t the Tr|ansport |
|00001bc0| 74 61 6c 6b 73 20 74 6f | 2e 20 20 49 66 20 6d 75 |talks to|. If mu|
|00001bd0| 6c 74 69 70 6c 65 20 54 | 72 61 6e 73 70 6f 72 74 |ltiple T|ransport|
|00001be0| 73 20 77 69 74 68 20 74 | 68 65 20 73 61 6d 65 20 |s with t|he same |
|00001bf0| 54 72 61 6e 73 70 6f 72 | 74 54 61 67 20 61 72 65 |Transpor|tTag are|
|00001c00| 20 69 6e 73 74 61 6e 74 | 69 61 74 65 64 2c 20 74 | instant|iated, t|
|00001c10| 68 65 20 53 4e 4d 50 20 | 4d 61 6e 61 67 65 72 20 |he SNMP |Manager |
|00001c20| 77 69 6c 6c 20 69 67 6e | 6f 72 65 20 61 6c 6c 20 |will ign|ore all |
|00001c30| 62 75 74 20 74 68 65 20 | 66 69 72 73 74 20 6f 6e |but the |first on|
|00001c40| 65 20 69 6e 73 74 61 6e | 74 69 61 74 65 64 2e 20 |e instan|tiated. |
|00001c50| 20 46 6f 72 20 74 68 65 | 20 41 70 70 6c 65 54 61 | For the| AppleTa|
|00001c60| 6c 6b 20 53 4e 4d 50 20 | 54 72 61 6e 73 70 6f 72 |lk SNMP |Transpor|
|00001c70| 74 20 74 68 65 20 74 61 | 67 20 69 73 20 27 44 44 |t the ta|g is 'DD|
|00001c80| 50 20 27 2c 20 66 6f 72 | 20 74 68 65 20 54 43 50 |P ', for| the TCP|
|00001c90| 20 53 4e 4d 50 20 54 72 | 61 6e 73 70 6f 72 74 20 | SNMP Tr|ansport |
|00001ca0| 74 68 65 20 74 61 67 20 | 69 73 20 27 55 44 50 20 |the tag |is 'UDP |
|00001cb0| 27 2e 20 20 54 68 69 73 | 20 76 61 6c 75 65 20 69 |'. This| value i|
|00001cc0| 73 20 75 73 65 64 20 69 | 6e 20 74 68 65 20 54 72 |s used i|n the Tr|
|00001cd0| 61 70 20 54 61 62 6c 65 | 20 69 6e 20 74 68 65 20 |ap Table| in the |
|00001ce0| 4d 61 63 69 6e 74 6f 73 | 68 20 41 67 65 6e 74 20 |Macintos|h Agent |
|00001cf0| 74 6f 20 64 65 74 65 72 | 6d 69 6e 65 20 77 68 69 |to deter|mine whi|
|00001d00| 63 68 20 54 72 61 6e 73 | 70 6f 72 74 20 75 6e 64 |ch Trans|port und|
|00001d10| 65 72 73 74 61 6e 64 73 | 20 74 68 65 20 63 6f 6e |erstands| the con|
|00001d20| 73 6f 6c 65 20 61 64 64 | 72 65 73 73 20 73 74 6f |sole add|ress sto|
|00001d30| 72 65 64 20 69 6e 20 61 | 20 70 61 72 74 69 63 75 |red in a| particu|
|00001d40| 6c 61 72 20 72 6f 77 20 | 6f 66 20 74 68 65 20 74 |lar row |of the t|
|00001d50| 61 62 6c 65 2e 20 20 54 | 68 65 20 73 6f 63 6b 65 |able. T|he socke|
|00001d60| 74 73 20 61 72 65 20 77 | 68 65 72 65 20 74 68 65 |ts are w|here the|
|00001d70| 20 54 72 61 6e 73 70 6f | 72 74 20 6c 69 73 74 65 | Transpo|rt liste|
|00001d80| 6e 73 20 66 6f 72 20 54 | 72 61 70 73 20 61 6e 64 |ns for T|raps and|
|00001d90| 20 52 65 71 75 65 73 74 | 73 2e 20 20 54 68 65 20 | Request|s. The |
|00001da0| 53 4e 4d 50 20 4d 61 6e | 61 67 65 72 20 64 6f 65 |SNMP Man|ager doe|
|00001db0| 73 20 6e 6f 74 20 75 6e | 64 65 72 73 74 61 6e 64 |s not un|derstand|
|00001dc0| 20 74 68 65 20 66 6f 72 | 6d 61 74 20 6f 66 20 74 | the for|mat of t|
|00001dd0| 68 65 73 65 20 61 64 64 | 72 65 73 73 65 73 20 61 |hese add|resses a|
|00001de0| 6e 64 20 6a 75 73 74 20 | 70 61 73 73 65 73 20 74 |nd just |passes t|
|00001df0| 68 65 6d 20 61 6c 6f 6e | 67 20 74 6f 20 79 6f 75 |hem alon|g to you|
|00001e00| 72 20 54 72 61 6e 73 70 | 6f 72 74 2e 20 54 68 65 |r Transp|ort. The|
|00001e10| 79 20 61 72 65 20 61 6c | 73 6f 20 75 73 65 64 20 |y are al|so used |
|00001e20| 61 73 20 74 68 65 20 73 | 6f 75 72 63 65 20 6f 66 |as the s|ource of|
|00001e30| 20 54 72 61 70 73 20 6f | 72 20 52 65 73 70 6f 6e | Traps o|r Respon|
|00001e40| 73 65 73 20 73 65 6e 74 | 2e 20 20 46 69 6e 61 6c |ses sent|. Final|
|00001e50| 6c 79 2c 20 74 68 65 79 | 20 61 6c 6c 6f 77 20 74 |ly, they| allow t|
|00001e60| 68 65 20 53 4e 4d 50 20 | 4d 61 6e 61 67 65 72 20 |he SNMP |Manager |
|00001e70| 74 6f 20 64 65 74 65 72 | 6d 69 6e 65 20 77 68 61 |to deter|mine wha|
|00001e80| 74 20 74 79 70 65 20 6f | 66 20 70 61 63 6b 65 74 |t type o|f packet|
|00001e90| 20 69 74 20 69 73 20 64 | 65 63 6f 64 69 6e 67 20 | it is d|ecoding |
|00001ea0| 62 65 66 6f 72 65 20 70 | 61 72 73 69 6e 67 20 74 |before p|arsing t|
|00001eb0| 68 65 20 72 61 77 20 41 | 53 4e 2e 31 20 64 61 74 |he raw A|SN.1 dat|
|00001ec0| 61 2e 20 20 49 6e 20 6f | 75 72 20 54 72 61 6e 73 |a. In o|ur Trans|
|00001ed0| 70 6f 72 74 73 20 77 65 | 20 68 61 76 65 20 73 74 |ports we| have st|
|00001ee0| 6f 72 65 64 20 70 6f 69 | 6e 74 65 72 73 20 74 6f |ored poi|nters to|
|00001ef0| 20 74 68 65 20 61 63 74 | 75 61 6c 20 62 69 74 73 | the act|ual bits|
|00001f00| 20 6f 66 20 74 68 65 20 | 6e 65 74 77 6f 72 6b 20 | of the |network |
|00001f10| 6c 61 79 65 72 20 61 64 | 64 72 65 73 73 65 73 20 |layer ad|dresses |
|00001f20| 69 6e 20 74 68 65 73 65 | 20 66 69 65 6c 64 73 2e |in these| fields.|
|00001f30| 20 20 54 68 65 20 61 57 | 72 69 74 65 62 75 66 73 | The aW|ritebufs|
|00001f40| 69 7a 65 20 61 6e 64 20 | 61 52 65 61 64 62 75 66 |ize and |aReadbuf|
|00001f50| 73 69 7a 65 20 61 72 65 | 20 74 68 65 20 73 69 7a |size are| the siz|
|00001f60| 65 20 6f 66 20 62 75 66 | 66 65 72 73 20 74 68 61 |e of buf|fers tha|
|00001f70| 74 20 74 68 65 20 53 4e | 4d 50 20 4d 61 6e 61 67 |t the SN|MP Manag|
|00001f80| 65 72 20 61 6c 6c 6f 63 | 61 74 65 73 20 66 6f 72 |er alloc|ates for|
|00001f90| 20 79 6f 75 72 20 54 72 | 61 6e 73 70 6f 72 74 20 | your Tr|ansport |
|00001fa0| 74 6f 20 75 73 65 2e 0d | 52 65 61 64 69 6e 67 20 |to use..|Reading |
|00001fb0| 53 4e 4d 50 20 50 61 63 | 6b 65 74 73 0d 46 69 6e |SNMP Pac|kets.Fin|
|00001fc0| 61 6c 6c 79 2c 20 49 6e | 69 74 53 4e 4d 50 54 72 |ally, In|itSNMPTr|
|00001fd0| 61 6e 73 70 6f 72 74 28 | 29 20 74 72 69 65 73 20 |ansport(|) tries |
|00001fe0| 74 6f 20 69 73 73 75 65 | 20 61 4e 75 6d 6f 66 52 |to issue| aNumofR|
|00001ff0| 65 61 64 73 20 6f 75 74 | 73 74 61 6e 64 69 6e 67 |eads out|standing|
|00002000| 20 72 65 61 64 73 20 62 | 79 20 63 61 6c 6c 69 6e | reads b|y callin|
|00002010| 67 20 79 6f 75 72 20 61 | 52 65 61 64 50 72 6f 63 |g your a|ReadProc|
|00002020| 28 29 20 77 69 74 68 20 | 61 20 66 69 6c 6c 65 64 |() with |a filled|
|00002030| 20 69 6e 20 53 4e 4d 50 | 54 72 61 6e 73 70 6f 72 | in SNMP|Transpor|
|00002040| 74 42 6c 6f 63 6b 20 61 | 73 20 73 68 6f 77 6e 20 |tBlock a|s shown |
|00002050| 69 6e 20 20 46 69 67 75 | 72 65 20 32 2e 20 20 54 |in Figu|re 2. T|
|00002060| 68 65 20 61 52 65 61 64 | 50 72 6f 63 28 29 20 6d |he aRead|Proc() m|
|00002070| 75 73 74 20 62 65 20 61 | 62 6c 65 20 74 6f 20 63 |ust be a|ble to c|
|00002080| 61 74 63 68 20 62 6f 74 | 68 20 69 6e 63 6f 6d 69 |atch bot|h incomi|
|00002090| 6e 67 20 54 72 61 70 73 | 20 61 6e 64 20 52 65 71 |ng Traps| and Req|
|000020a0| 75 65 73 74 73 2e 20 20 | 49 74 20 6d 75 73 74 20 |uests. |It must |
|000020b0| 61 6c 73 6f 20 62 65 20 | 61 62 6c 65 20 74 6f 20 |also be |able to |
|000020c0| 62 65 20 63 61 6c 6c 65 | 64 20 61 74 20 61 6e 79 |be calle|d at any|
|000020d0| 20 74 69 6d 65 2c 20 74 | 68 75 73 20 79 6f 75 20 | time, t|hus you |
|000020e0| 6d 75 73 74 20 6e 6f 74 | 20 61 6c 6c 6f 63 61 74 |must not| allocat|
|000020f0| 65 20 6d 65 6d 6f 72 79 | 20 75 73 69 6e 67 20 74 |e memory| using t|
|00002100| 68 65 20 6e 6f 72 6d 61 | 6c 20 4d 61 63 69 6e 74 |he norma|l Macint|
|00002110| 6f 73 68 20 6d 65 6d 6f | 72 79 20 63 61 6c 6c 73 |osh memo|ry calls|
|00002120| 2e 20 20 20 20 59 6f 75 | 20 6d 61 79 20 75 73 65 |. You| may use|
|00002130| 20 74 68 65 20 61 72 65 | 61 20 70 6f 69 6e 74 65 | the are|a pointe|
|00002140| 64 20 74 6f 20 62 79 20 | 55 73 65 72 44 61 74 61 |d to by |UserData|
|00002150| 50 74 72 20 66 6f 72 20 | 61 6e 79 20 73 63 72 61 |Ptr for |any scra|
|00002160| 74 63 68 20 79 6f 75 20 | 6d 69 67 68 74 20 6e 65 |tch you |might ne|
|00002170| 65 64 2e 20 20 49 74 20 | 6d 75 73 74 20 61 6c 73 |ed. It |must als|
|00002180| 6f 20 72 65 74 75 72 6e | 20 69 6d 6d 65 64 69 61 |o return| immedia|
|00002190| 74 65 6c 79 2e 20 20 57 | 68 65 6e 20 61 20 72 65 |tely. W|hen a re|
|000021a0| 61 64 20 61 63 74 75 61 | 6c 6c 79 20 63 6f 6d 70 |ad actua|lly comp|
|000021b0| 6c 65 74 65 73 20 79 6f | 75 20 6d 75 73 74 20 63 |letes yo|u must c|
|000021c0| 61 6c 6c 20 53 4e 4d 50 | 52 65 61 64 44 6f 6e 65 |all SNMP|ReadDone|
|000021d0| 28 29 20 61 66 74 65 72 | 20 66 69 6c 6c 69 6e 67 |() after| filling|
|000021e0| 20 69 6e 20 74 68 65 20 | 64 61 74 61 2c 20 74 68 | in the |data, th|
|000021f0| 65 20 73 6f 75 72 63 65 | 20 61 6e 64 20 64 65 73 |e source| and des|
|00002200| 74 69 6e 61 74 69 6f 6e | 20 61 64 64 72 65 73 73 |tination| address|
|00002210| 65 73 2c 20 74 68 65 20 | 61 63 74 75 61 6c 20 6e |es, the |actual n|
|00002220| 75 6d 62 65 72 20 6f 66 | 20 62 79 74 65 73 20 72 |umber of| bytes r|
|00002230| 65 61 64 20 28 69 6e 20 | 70 61 63 6b 65 74 50 74 |ead (in |packetPt|
|00002240| 72 2d 3e 70 61 63 6b 65 | 74 50 69 65 63 65 2e 64 |r->packe|tPiece.d|
|00002250| 61 74 61 53 69 7a 65 29 | 2c 20 74 68 65 20 66 72 |ataSize)|, the fr|
|00002260| 65 65 46 6c 61 67 20 28 | 73 65 74 20 74 6f 20 66 |eeFlag (|set to f|
|00002270| 61 6c 73 65 29 2c 20 61 | 6e 64 20 74 68 65 20 72 |alse), a|nd the r|
|00002280| 65 73 75 6c 74 20 28 73 | 6e 6d 70 4e 6f 45 72 72 |esult (s|nmpNoErr|
|00002290| 6f 72 20 69 66 20 69 74 | 20 77 6f 72 6b 65 64 2e |or if it| worked.|
|000022a0| 29 20 20 0d 57 61 72 6e | 69 6e 67 3a 09 49 66 20 |) .Warn|ing:.If |
|000022b0| 74 68 65 20 66 72 65 65 | 46 6c 61 67 20 69 73 20 |the free|Flag is |
|000022c0| 69 6e 63 6f 72 72 65 63 | 74 6c 79 20 73 65 74 20 |incorrec|tly set |
|000022d0| 74 68 65 20 53 4e 4d 50 | 20 4d 61 6e 61 67 65 72 |the SNMP| Manager|
|000022e0| 20 77 69 6c 6c 20 62 65 | 63 6f 6d 65 20 68 6f 70 | will be|come hop|
|000022f0| 65 6c 65 73 73 6c 79 20 | 63 6f 6e 66 75 73 65 64 |elessly |confused|
|00002300| 2e 0d 41 66 74 65 72 20 | 74 68 65 20 72 65 61 64 |..After |the read|
|00002310| 20 70 61 63 6b 65 74 20 | 69 73 20 70 72 6f 63 65 | packet |is proce|
|00002320| 73 73 65 64 20 62 79 20 | 74 68 65 20 53 4e 4d 50 |ssed by |the SNMP|
|00002330| 20 4d 61 6e 61 67 65 72 | 20 69 74 20 69 73 73 75 | Manager| it issu|
|00002340| 65 73 20 61 6e 6f 74 68 | 65 72 20 72 65 61 64 20 |es anoth|er read |
|00002350| 63 61 6c 6c 20 74 6f 20 | 61 52 65 61 64 50 72 6f |call to |aReadPro|
|00002360| 63 28 29 20 73 6f 20 74 | 68 61 74 20 74 68 65 72 |c() so t|hat ther|
|00002370| 65 20 77 69 6c 6c 20 61 | 6c 77 61 79 73 20 62 65 |e will a|lways be|
|00002380| 20 73 6f 6d 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 | some nu|mber of |
|00002390| 6f 75 74 73 74 61 6e 64 | 69 6e 67 20 72 65 61 64 |outstand|ing read|
|000023a0| 73 2e 20 20 49 66 20 74 | 68 65 72 65 20 61 72 65 |s. If t|here are|
|000023b0| 20 6e 6f 20 6f 75 74 73 | 74 61 6e 64 69 6e 67 20 | no outs|tanding |
|000023c0| 72 65 61 64 73 20 61 74 | 20 61 6e 79 20 74 69 6d |reads at| any tim|
|000023d0| 65 20 69 74 20 69 73 20 | 61 6c 6c 6f 77 61 62 6c |e it is |allowabl|
|000023e0| 65 20 66 6f 72 20 79 6f | 75 72 20 74 72 61 6e 73 |e for yo|ur trans|
|000023f0| 70 6f 72 74 20 74 6f 20 | 64 72 6f 70 20 53 4e 4d |port to |drop SNM|
|00002400| 50 20 70 61 63 6b 65 74 | 73 2e 20 20 0d 46 69 67 |P packet|s. .Fig|
|00002410| 75 72 65 20 32 2e 20 4c | 61 79 6f 75 74 20 6f 66 |ure 2. L|ayout of|
|00002420| 20 53 4e 4d 50 54 72 61 | 6e 73 70 6f 72 74 42 6c | SNMPTra|nsportBl|
|00002430| 6f 63 6b 20 77 68 65 6e | 20 61 52 65 61 64 50 72 |ock when| aReadPr|
|00002440| 6f 63 28 29 20 63 61 6c | 6c 65 64 2e 0d 57 68 65 |oc() cal|led..Whe|
|00002450| 6e 20 79 6f 75 72 20 54 | 72 61 6e 73 70 6f 72 74 |n your T|ransport|
|00002460| 20 69 73 20 64 65 6c 65 | 74 65 64 20 79 6f 75 20 | is dele|ted you |
|00002470| 6d 75 73 74 20 65 6e 73 | 75 72 65 20 74 68 61 74 |must ens|ure that|
|00002480| 20 79 6f 75 72 20 63 6f | 6d 70 6c 65 74 69 6f 6e | your co|mpletion|
|00002490| 20 72 6f 75 74 69 6e 65 | 73 20 77 69 6c 6c 20 6e | routine|s will n|
|000024a0| 6f 74 20 62 65 20 63 61 | 6c 6c 65 64 20 61 66 74 |ot be ca|lled aft|
|000024b0| 65 72 20 79 6f 75 72 20 | 64 65 73 74 72 75 63 74 |er your |destruct|
|000024c0| 6f 72 20 69 73 20 66 69 | 6e 69 73 68 65 64 20 61 |or is fi|nished a|
|000024d0| 6e 64 20 79 6f 75 72 20 | 54 72 61 6e 73 70 6f 72 |nd your |Transpor|
|000024e0| 74 20 6f 62 6a 65 63 74 | 20 69 73 20 67 6f 6e 65 |t object| is gone|
|000024f0| 2e 20 20 59 6f 75 20 6d | 61 79 20 68 61 76 65 20 |. You m|ay have |
|00002500| 74 6f 20 20 77 61 69 74 | 20 66 6f 72 20 61 73 79 |to wait| for asy|
|00002510| 6e 63 68 72 6f 6e 6f 75 | 73 20 77 72 69 74 65 73 |nchronou|s writes|
|00002520| 20 74 6f 20 63 6f 6d 70 | 6c 65 74 65 20 61 6e 64 | to comp|lete and|
|00002530| 20 63 61 6e 63 65 6c 20 | 61 6e 79 20 6f 75 74 73 | cancel |any outs|
|00002540| 74 61 6e 64 69 6e 67 20 | 72 65 61 64 73 2e 20 54 |tanding |reads. T|
|00002550| 68 65 20 62 61 73 65 20 | 63 6c 61 73 73 20 64 65 |he base |class de|
|00002560| 73 74 72 75 63 74 6f 72 | 20 77 69 6c 6c 20 65 6e |structor| will en|
|00002570| 73 75 72 65 20 74 68 61 | 74 20 61 6e 79 20 70 61 |sure tha|t any pa|
|00002580| 63 6b 65 74 73 20 79 6f | 75 20 68 61 76 65 20 71 |ckets yo|u have q|
|00002590| 75 65 75 65 64 20 75 70 | 20 66 6f 72 20 70 72 6f |ueued up| for pro|
|000025a0| 63 65 73 73 69 6e 67 20 | 77 69 6c 6c 20 62 65 20 |cessing |will be |
|000025b0| 74 68 72 6f 77 6e 20 61 | 77 61 79 2e 0d 46 69 67 |thrown a|way..Fig|
|000025c0| 75 72 65 20 33 2e 20 20 | 4c 61 79 6f 75 74 20 6f |ure 3. |Layout o|
|000025d0| 66 20 53 4e 4d 50 54 72 | 61 6e 73 70 6f 72 74 42 |f SNMPTr|ansportB|
|000025e0| 6c 6f 63 6b 20 77 68 65 | 6e 20 74 68 65 20 53 4e |lock whe|n the SN|
|000025f0| 4d 50 20 4d 61 6e 61 67 | 65 72 20 63 61 6c 6c 73 |MP Manag|er calls|
|00002600| 20 61 57 72 69 74 65 50 | 72 6f 63 28 29 20 77 69 | aWriteP|roc() wi|
|00002610| 74 68 20 61 20 72 65 73 | 70 6f 6e 73 65 20 74 6f |th a res|ponse to|
|00002620| 20 61 6e 20 53 4e 4d 50 | 20 52 65 71 75 65 73 74 | an SNMP| Request|
|00002630| 2e 0d 54 68 65 20 53 4e | 4d 50 54 72 61 6e 73 70 |..The SN|MPTransp|
|00002640| 6f 72 74 42 6c 6f 63 6b | 20 69 73 20 64 65 66 69 |ortBlock| is defi|
|00002650| 6e 65 64 20 61 73 20 66 | 6f 6c 6c 6f 77 73 3a 0d |ned as f|ollows:.|
|00002660| 73 74 72 75 63 74 20 53 | 4e 4d 50 54 72 61 6e 73 |struct S|NMPTrans|
|00002670| 70 6f 72 74 42 6c 6f 63 | 6b 20 7b 0d 09 75 6e 73 |portBloc|k {..uns|
|00002680| 69 67 6e 65 64 20 6c 6f | 6e 67 09 09 71 4c 69 6e |igned lo|ng..qLin|
|00002690| 6b 3b 09 09 2f 2f 20 72 | 65 73 65 72 76 65 64 20 |k;..// r|eserved |
|000026a0| 66 6f 72 20 70 6f 69 6e | 74 65 72 20 74 6f 20 6e |for poin|ter to n|
|000026b0| 65 78 74 20 62 6c 6f 63 | 6b 0d 09 73 68 6f 72 74 |ext bloc|k..short|
|000026c0| 09 09 09 71 54 79 70 65 | 3b 09 09 2f 2f 20 72 65 |...qType|;..// re|
|000026d0| 73 65 72 76 65 64 20 66 | 6f 72 20 71 75 65 75 65 |served f|or queue|
|000026e0| 20 72 6f 75 74 69 6e 65 | 73 0d 09 54 53 4e 4d 50 | routine|s..TSNMP|
|000026f0| 54 72 61 6e 73 70 6f 72 | 74 2a 20 09 74 72 61 6e |Transpor|t* .tran|
|00002700| 73 70 6f 72 74 3b 09 2f | 2f 20 77 68 6f 20 77 61 |sport;./|/ who wa|
|00002710| 73 20 61 73 6b 65 64 20 | 74 6f 20 72 65 61 64 20 |s asked |to read |
|00002720| 6f 72 20 77 72 69 74 65 | 20 62 6c 6f 63 6b 0d 09 |or write| block..|
|00002730| 53 4e 4d 50 45 72 72 6f | 72 09 09 72 65 73 75 6c |SNMPErro|r..resul|
|00002740| 74 3b 09 2f 2f 20 61 66 | 74 65 72 20 72 65 71 75 |t;.// af|ter requ|
|00002750| 65 73 74 20 69 73 20 73 | 65 72 76 69 63 65 64 0d |est is s|erviced.|
|00002760| 09 76 6f 69 64 2a 20 09 | 09 09 64 65 73 74 6f 70 |.void* .|..destop|
|00002770| 61 71 75 65 44 61 74 61 | 3b 2f 2f 20 64 65 73 74 |aqueData|;// dest|
|00002780| 69 6e 61 74 69 6f 6e 20 | 61 64 64 72 65 73 73 20 |ination |address |
|00002790| 74 6f 20 62 65 20 72 65 | 73 6f 6c 76 65 64 20 09 |to be re|solved .|
|000027a0| 09 09 09 09 09 09 28 75 | 73 65 64 20 69 6e 20 77 |......(u|sed in w|
|000027b0| 72 69 74 65 20 74 72 61 | 70 20 6f 6e 6c 79 29 0d |rite tra|p only).|
|000027c0| 09 54 49 41 64 64 72 65 | 73 73 50 74 72 09 09 64 |.TIAddre|ssPtr..d|
|000027d0| 65 73 74 69 6e 61 74 69 | 6f 6e 3b 09 2f 2f 20 77 |estinati|on;.// w|
|000027e0| 68 6f 20 74 68 65 20 70 | 61 63 6b 65 74 20 77 61 |ho the p|acket wa|
|000027f0| 73 20 73 65 6e 74 20 74 | 6f 20 0d 09 54 49 41 64 |s sent t|o ..TIAd|
|00002800| 64 72 65 73 73 50 74 72 | 09 09 73 6f 75 72 63 65 |dressPtr|..source|
|00002810| 3b 09 2f 2f 20 77 68 6f | 20 73 65 6e 74 20 74 68 |;.// who| sent th|
|00002820| 65 20 70 61 63 6b 65 74 | 20 74 6f 20 75 73 0d 09 |e packet| to us..|
|00002830| 76 6f 69 64 20 2a 09 09 | 09 55 73 65 72 44 61 74 |void *..|.UserDat|
|00002840| 61 50 74 72 3b 09 2f 2f | 20 54 72 61 6e 73 70 6f |aPtr;.//| Transpo|
|00002850| 72 74 20 77 6f 72 6b 20 | 73 70 61 63 65 0d 09 42 |rt work |space..B|
|00002860| 6f 6f 6c 65 61 6e 09 09 | 66 72 65 65 46 6c 61 67 |oolean..|freeFlag|
|00002870| 3b 09 2f 2f 20 69 73 20 | 74 68 65 20 77 72 69 74 |;.// is |the writ|
|00002880| 65 20 66 69 6e 69 73 68 | 65 64 3f 0d 09 42 6f 6f |e finish|ed?..Boo|
|00002890| 6c 65 61 6e 09 09 72 65 | 61 64 46 6c 61 67 3b 09 |lean..re|adFlag;.|
|000028a0| 2f 2f 20 6d 61 6e 61 67 | 65 64 20 62 79 20 53 4e |// manag|ed by SN|
|000028b0| 4d 50 20 4d 61 6e 61 67 | 65 72 0d 09 50 61 63 6b |MP Manag|er..Pack|
|000028c0| 65 74 45 6c 65 6d 65 6e | 74 50 74 72 09 70 6b 74 |etElemen|tPtr.pkt|
|000028d0| 65 6c 65 6d 65 6e 74 50 | 74 72 3b 2f 2f 20 6d 61 |elementP|tr;// ma|
|000028e0| 6e 61 67 65 64 20 62 79 | 20 53 4e 4d 50 20 4d 61 |naged by| SNMP Ma|
|000028f0| 6e 61 67 65 72 0d 09 53 | 4e 4d 50 50 61 63 6b 65 |nager..S|NMPPacke|
|00002900| 74 53 74 72 75 63 74 50 | 74 72 09 70 61 63 6b 65 |tStructP|tr.packe|
|00002910| 74 50 74 72 3b 09 2f 2f | 20 6d 61 6e 61 67 65 64 |tPtr;.//| managed|
|00002920| 20 62 79 20 53 4e 4d 50 | 20 4d 61 6e 61 67 65 72 | by SNMP| Manager|
|00002930| 0d 7d 3b 0d 57 72 69 74 | 69 6e 67 20 53 4e 4d 50 |.};.Writ|ing SNMP|
|00002940| 20 50 61 63 6b 65 74 73 | 0d 41 66 74 65 72 20 61 | Packets|.After a|
|00002950| 20 70 61 63 6b 65 74 20 | 69 73 20 70 72 6f 63 65 | packet |is proce|
|00002960| 73 73 65 64 20 62 79 20 | 74 68 65 20 53 4e 4d 50 |ssed by |the SNMP|
|00002970| 20 4d 61 6e 61 67 65 72 | 2c 20 69 74 20 77 69 6c | Manager|, it wil|
|00002980| 6c 20 61 6c 6d 6f 73 74 | 20 61 6c 77 61 79 73 20 |l almost| always |
|00002990| 67 65 6e 65 72 61 74 65 | 20 61 20 52 65 73 70 6f |generate| a Respo|
|000029a0| 6e 73 65 20 70 61 63 6b | 65 74 2e 20 20 54 68 65 |nse pack|et. The|
|000029b0| 20 53 4e 4d 50 20 4d 61 | 6e 61 67 65 72 20 77 69 | SNMP Ma|nager wi|
|000029c0| 6c 6c 20 65 69 74 68 65 | 72 20 72 65 73 70 6f 6e |ll eithe|r respon|
|000029d0| 64 20 74 6f 20 61 20 52 | 65 71 75 65 73 74 20 6f |d to a R|equest o|
|000029e0| 72 20 67 65 6e 65 72 61 | 74 65 20 61 20 54 72 61 |r genera|te a Tra|
|000029f0| 70 2e 20 20 49 6e 20 74 | 68 65 20 63 61 73 65 73 |p. In t|he cases|
|00002a00| 20 6f 66 20 61 20 73 69 | 6d 70 6c 65 20 52 65 73 | of a si|mple Res|
|00002a10| 70 6f 6e 73 65 20 74 68 | 65 20 53 4e 4d 50 20 4d |ponse th|e SNMP M|
|00002a20| 61 6e 61 67 65 72 20 77 | 69 6c 6c 20 63 61 6c 6c |anager w|ill call|
|00002a30| 20 79 6f 75 72 20 61 57 | 72 69 74 65 50 72 6f 63 | your aW|riteProc|
|00002a40| 28 29 20 77 69 74 68 20 | 61 6e 20 53 4e 4d 50 54 |() with |an SNMPT|
|00002a50| 72 61 6e 73 70 6f 72 74 | 42 6c 6f 63 6b 20 66 69 |ransport|Block fi|
|00002a60| 6c 6c 65 64 20 6f 75 74 | 20 61 73 20 73 68 6f 77 |lled out| as show|
|00002a70| 6e 20 69 6e 20 46 69 67 | 75 72 65 20 33 2e 20 20 |n in Fig|ure 3. |
|00002a80| 59 6f 75 72 20 61 57 72 | 69 74 65 50 72 6f 63 28 |Your aWr|iteProc(|
|00002a90| 29 20 6d 61 79 20 62 65 | 20 63 61 6c 6c 65 64 20 |) may be| called |
|00002aa0| 61 74 20 61 6e 79 20 74 | 69 6d 65 2c 20 74 68 75 |at any t|ime, thu|
|00002ab0| 73 20 79 6f 75 20 6d 75 | 73 74 20 6e 6f 74 20 61 |s you mu|st not a|
|00002ac0| 6c 6c 6f 63 61 74 65 20 | 6d 65 6d 6f 72 79 20 75 |llocate |memory u|
|00002ad0| 73 69 6e 67 20 74 68 65 | 20 6e 6f 72 6d 61 6c 20 |sing the| normal |
|00002ae0| 4d 61 63 69 6e 74 6f 73 | 68 20 6d 65 6d 6f 72 79 |Macintos|h memory|
|00002af0| 20 63 61 6c 6c 73 2e 20 | 59 6f 75 20 6d 61 79 20 | calls. |You may |
|00002b00| 75 73 65 20 74 68 65 20 | 61 72 65 61 20 70 6f 69 |use the |area poi|
|00002b10| 6e 74 65 64 20 74 6f 20 | 62 79 20 55 73 65 72 44 |nted to |by UserD|
|00002b20| 61 74 50 74 72 20 66 6f | 72 20 61 6e 79 20 73 63 |atPtr fo|r any sc|
|00002b30| 72 61 74 63 68 20 6d 65 | 6d 6f 72 79 20 79 6f 75 |ratch me|mory you|
|00002b40| 20 6e 65 65 64 2e 20 20 | 54 68 65 20 20 64 65 73 | need. |The des|
|00002b50| 74 69 6e 61 74 69 6f 6e | 20 73 6f 63 6b 65 74 20 |tination| socket |
|00002b60| 69 73 20 74 68 65 20 73 | 61 6d 65 20 62 6c 6f 63 |is the s|ame bloc|
|00002b70| 6b 20 61 73 20 77 61 73 | 20 70 61 73 73 65 64 20 |k as was| passed |
|00002b80| 69 6e 20 6f 6e 20 74 68 | 65 20 72 65 61 64 20 61 |in on th|e read a|
|00002b90| 73 20 74 68 65 20 73 6f | 75 72 63 65 20 73 6f 63 |s the so|urce soc|
|00002ba0| 6b 65 74 2c 20 74 68 65 | 20 73 6f 75 72 63 65 20 |ket, the| source |
|00002bb0| 73 6f 63 6b 65 74 20 69 | 73 20 79 6f 75 72 20 69 |socket i|s your i|
|00002bc0| 6e 69 74 69 61 6c 69 7a | 65 64 20 66 52 65 71 75 |nitializ|ed fRequ|
|00002bd0| 65 73 74 53 6f 63 6b 65 | 74 50 74 72 2c 20 74 68 |estSocke|tPtr, th|
|00002be0| 65 20 70 61 63 6b 65 74 | 50 74 72 20 70 6f 69 6e |e packet|Ptr poin|
|00002bf0| 74 73 20 74 6f 20 74 68 | 65 20 53 4e 4d 50 20 64 |ts to th|e SNMP d|
|00002c00| 61 74 61 20 74 6f 20 70 | 75 74 20 6f 6e 20 74 68 |ata to p|ut on th|
|00002c10| 65 20 77 69 72 65 2e 20 | 20 59 6f 75 20 6d 75 73 |e wire. | You mus|
|00002c20| 74 20 72 65 74 75 72 6e | 20 69 6d 6d 65 64 69 61 |t return| immedia|
|00002c30| 74 65 6c 79 20 66 72 6f | 6d 20 74 68 65 20 63 61 |tely fro|m the ca|
|00002c40| 6c 6c 20 74 6f 20 61 57 | 72 69 74 65 50 72 6f 63 |ll to aW|riteProc|
|00002c50| 28 29 2e 20 20 41 66 74 | 65 72 20 74 68 65 20 77 |(). Aft|er the w|
|00002c60| 72 69 74 65 20 63 6f 6d | 70 6c 65 74 65 73 20 79 |rite com|pletes y|
|00002c70| 6f 75 20 73 68 6f 75 6c | 64 20 66 69 6c 6c 20 69 |ou shoul|d fill i|
|00002c80| 6e 20 74 68 65 20 72 65 | 73 75 6c 74 2c 20 73 65 |n the re|sult, se|
|00002c90| 74 20 74 68 65 20 66 72 | 65 65 46 6c 61 67 20 74 |t the fr|eeFlag t|
|00002ca0| 6f 20 74 72 75 65 2c 20 | 61 6e 64 20 63 61 6c 6c |o true, |and call|
|00002cb0| 20 53 4e 4d 50 57 72 69 | 74 65 44 6f 6e 65 28 29 | SNMPWri|teDone()|
|00002cc0| 20 73 6f 20 74 68 61 74 | 20 74 68 65 20 53 4e 4d | so that| the SNM|
|00002cd0| 50 20 4d 61 6e 61 67 65 | 72 20 63 61 6e 20 66 72 |P Manage|r can fr|
|00002ce0| 65 65 20 75 70 20 74 68 | 65 20 6d 65 6d 6f 72 79 |ee up th|e memory|
|00002cf0| 20 69 74 20 61 6c 6c 6f | 63 61 74 65 64 2e 0d 57 | it allo|cated..W|
|00002d00| 61 72 6e 69 6e 67 3a 09 | 49 66 20 74 68 65 20 66 |arning:.|If the f|
|00002d10| 72 65 65 46 6c 61 67 20 | 69 73 20 69 6e 63 6f 72 |reeFlag |is incor|
|00002d20| 72 65 63 74 6c 79 20 73 | 65 74 20 74 68 65 20 53 |rectly s|et the S|
|00002d30| 4e 4d 50 20 4d 61 6e 61 | 67 65 72 20 77 69 6c 6c |NMP Mana|ger will|
|00002d40| 20 62 65 63 6f 6d 65 20 | 68 6f 70 65 6c 65 73 73 | become |hopeless|
|00002d50| 6c 79 20 63 6f 6e 66 75 | 73 65 64 2e 0d 49 66 20 |ly confu|sed..If |
|00002d60| 79 6f 75 72 20 54 72 61 | 6e 73 70 6f 72 74 20 63 |your Tra|nsport c|
|00002d70| 61 6e 20 73 65 6e 64 20 | 54 72 61 70 73 20 69 74 |an send |Traps it|
|00002d80| 20 6d 75 73 74 20 73 65 | 74 20 74 68 65 20 66 48 | must se|t the fH|
|00002d90| 61 6e 64 6c 65 73 52 65 | 73 6f 6c 75 74 69 6f 6e |andlesRe|solution|
|00002da0| 20 66 69 65 6c 64 20 74 | 6f 20 74 72 75 65 2e 20 | field t|o true. |
|00002db0| 20 49 74 20 69 73 20 73 | 74 72 6f 6e 67 6c 79 20 | It is s|trongly |
|00002dc0| 65 6e 63 6f 75 72 61 67 | 65 64 20 74 68 61 74 20 |encourag|ed that |
|00002dd0| 79 6f 75 72 20 74 72 61 | 6e 73 70 6f 72 74 20 68 |your tra|nsport h|
|00002de0| 61 6e 64 6c 65 20 54 72 | 61 70 73 2c 20 69 66 20 |andle Tr|aps, if |
|00002df0| 69 74 20 64 69 64 20 6e | 6f 74 2c 20 69 74 20 77 |it did n|ot, it w|
|00002e00| 6f 75 6c 64 20 6e 6f 74 | 20 62 65 20 66 75 6c 6c |ould not| be full|
|00002e10| 79 20 63 6f 6d 70 6c 69 | 61 6e 74 20 77 69 74 68 |y compli|ant with|
|00002e20| 20 74 68 65 20 53 4e 4d | 50 20 73 74 61 6e 64 61 | the SNM|P standa|
|00002e30| 72 64 2e 20 20 57 68 65 | 6e 20 61 20 54 72 61 70 |rd. Whe|n a Trap|
|00002e40| 20 69 73 20 67 65 6e 65 | 72 61 74 65 64 2c 20 74 | is gene|rated, t|
|00002e50| 68 65 20 53 4e 4d 50 20 | 4d 61 6e 61 67 65 72 20 |he SNMP |Manager |
|00002e60| 77 69 6c 6c 20 64 65 74 | 65 72 6d 69 6e 65 20 69 |will det|ermine i|
|00002e70| 66 20 74 68 65 20 54 72 | 61 70 20 69 73 20 73 75 |f the Tr|ap is su|
|00002e80| 70 70 6f 73 65 64 20 74 | 6f 20 62 65 20 73 65 6e |pposed t|o be sen|
|00002e90| 74 20 74 6f 20 61 20 63 | 6f 6e 73 6f 6c 65 20 74 |t to a c|onsole t|
|00002ea0| 68 61 74 20 73 75 70 70 | 6f 72 74 73 20 79 6f 75 |hat supp|orts you|
|00002eb0| 72 20 54 72 61 6e 73 70 | 6f 72 74 20 74 79 70 65 |r Transp|ort type|
|00002ec0| 20 62 79 20 6c 6f 6f 6b | 69 6e 67 20 74 68 72 6f | by look|ing thro|
|00002ed0| 75 67 68 20 74 68 65 20 | 54 72 61 70 20 74 61 62 |ugh the |Trap tab|
|00002ee0| 6c 65 20 69 6e 20 74 68 | 65 20 4d 61 63 69 6e 74 |le in th|e Macint|
|00002ef0| 6f 73 68 20 53 79 73 74 | 65 6d 20 4d 49 42 20 69 |osh Syst|em MIB i|
|00002f00| 6d 70 6c 65 6d 65 6e 74 | 65 64 20 62 79 20 74 68 |mplement|ed by th|
|00002f10| 65 20 4d 61 63 69 6e 74 | 6f 73 68 20 41 67 65 6e |e Macint|osh Agen|
|00002f20| 74 2e 20 20 49 66 20 73 | 6f 2c 20 69 74 20 77 69 |t. If s|o, it wi|
|00002f30| 6c 6c 20 69 73 73 75 65 | 20 61 20 63 61 6c 6c 20 |ll issue| a call |
|00002f40| 74 6f 20 79 6f 75 72 20 | 61 57 72 69 74 65 50 72 |to your |aWritePr|
|00002f50| 6f 63 28 29 20 61 73 20 | 61 62 6f 76 65 2c 20 65 |oc() as |above, e|
|00002f60| 78 63 65 70 74 20 74 68 | 61 74 20 74 68 65 20 64 |xcept th|at the d|
|00002f70| 65 73 74 4f 70 61 71 75 | 65 44 61 74 61 20 77 69 |estOpaqu|eData wi|
|00002f80| 6c 6c 20 70 6f 69 6e 74 | 20 74 6f 20 61 20 62 6c |ll point| to a bl|
|00002f90| 6f 63 6b 20 74 68 61 74 | 20 74 68 65 20 53 4e 4d |ock that| the SNM|
|00002fa0| 50 20 4d 61 6e 61 67 65 | 72 20 68 61 73 20 70 72 |P Manage|r has pr|
|00002fb0| 6f 63 75 72 65 64 20 66 | 72 6f 6d 20 74 68 65 20 |ocured f|rom the |
|00002fc0| 74 72 61 70 44 65 73 74 | 69 6e 61 74 69 6f 6e 20 |trapDest|ination |
|00002fd0| 66 69 65 6c 64 20 69 6e | 20 74 68 65 20 54 72 61 |field in| the Tra|
|00002fe0| 70 20 54 61 62 6c 65 20 | 69 6e 20 74 68 65 20 4d |p Table |in the M|
|00002ff0| 61 63 69 6e 74 6f 73 68 | 20 41 67 65 6e 74 2e 20 |acintosh| Agent. |
|00003000| 20 49 74 20 69 73 20 75 | 70 20 74 6f 20 79 6f 75 | It is u|p to you|
|00003010| 20 74 6f 20 64 65 66 69 | 6e 65 20 68 6f 77 20 74 | to defi|ne how t|
|00003020| 68 69 73 20 61 64 64 72 | 65 73 73 20 77 69 6c 6c |his addr|ess will|
|00003030| 20 62 65 20 73 74 6f 72 | 65 64 2e 20 20 48 6f 77 | be stor|ed. How|
|00003040| 65 76 65 72 2c 20 69 74 | 20 6d 75 73 74 20 62 65 |ever, it| must be|
|00003050| 20 6e 6f 6e 2d 76 6f 6c | 61 74 69 6c 65 20 62 65 | non-vol|atile be|
|00003060| 74 77 65 65 6e 20 72 65 | 2d 62 6f 6f 74 73 20 6f |tween re|-boots o|
|00003070| 66 20 74 68 65 20 73 79 | 73 74 65 6d 2e 20 20 46 |f the sy|stem. F|
|00003080| 6f 72 20 74 68 65 20 41 | 70 70 6c 65 54 61 6c 6b |or the A|ppleTalk|
|00003090| 20 53 4e 4d 50 20 74 72 | 61 6e 73 70 6f 72 74 2c | SNMP tr|ansport,|
|000030a0| 20 77 65 20 73 74 6f 72 | 65 20 74 68 65 20 4e 42 | we stor|e the NB|
|000030b0| 50 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 63 6f |P name o|f the co|
|000030c0| 6e 73 6f 6c 65 20 61 73 | 20 73 70 65 63 69 66 69 |nsole as| specifi|
|000030d0| 65 64 20 69 6e 20 74 68 | 65 20 41 70 70 6c 65 54 |ed in th|e AppleT|
|000030e0| 61 6c 6b 20 6f 76 65 72 | 20 53 4e 4d 50 20 28 64 |alk over| SNMP (d|
|000030f0| 72 61 66 74 29 20 52 46 | 43 2e 20 20 46 6f 72 20 |raft) RF|C. For |
|00003100| 74 68 65 20 54 43 50 20 | 53 4e 4d 50 20 54 72 61 |the TCP |SNMP Tra|
|00003110| 6e 73 70 6f 72 74 20 77 | 65 20 73 74 6f 72 65 20 |nsport w|e store |
|00003120| 74 68 65 20 49 50 20 61 | 64 64 72 65 73 73 20 6f |the IP a|ddress o|
|00003130| 66 20 74 68 65 20 63 6f | 6e 73 6f 6c 65 20 69 6e |f the co|nsole in|
|00003140| 20 64 6f 74 74 65 64 20 | 6e 6f 74 61 74 69 6f 6e | dotted |notation|
|00003150| 20 2e 20 20 54 68 65 20 | 54 72 61 6e 73 70 6f 72 | . The |Transpor|
|00003160| 74 20 69 73 20 72 65 73 | 70 6f 6e 73 69 62 6c 65 |t is res|ponsible|
|00003170| 20 66 6f 72 20 74 75 72 | 6e 69 6e 67 20 74 68 69 | for tur|ning thi|
|00003180| 73 20 61 64 64 72 65 73 | 73 20 69 6e 74 6f 20 74 |s addres|s into t|
|00003190| 68 65 20 77 69 72 65 20 | 61 64 64 72 65 73 73 20 |he wire |address |
|000031a0| 6f 66 20 74 68 65 20 63 | 6f 6e 73 6f 6c 65 2e 20 |of the c|onsole. |
|000031b0| 20 45 76 65 72 79 74 68 | 69 6e 67 20 65 6c 73 65 | Everyth|ing else|
|000031c0| 20 69 73 20 61 73 20 61 | 62 6f 76 65 2e 20 59 6f | is as a|bove. Yo|
|000031d0| 75 20 6d 75 73 74 20 72 | 65 74 75 72 6e 20 69 6d |u must r|eturn im|
|000031e0| 6d 65 64 69 61 74 65 6c | 79 20 61 66 74 65 72 20 |mediatel|y after |
|000031f0| 74 68 65 20 63 61 6c 6c | 20 74 6f 20 79 6f 75 72 |the call| to your|
|00003200| 20 61 57 72 69 74 65 50 | 72 6f 63 28 29 20 61 6e | aWriteP|roc() an|
|00003210| 64 20 63 61 6c 6c 20 53 | 4e 4d 50 57 72 69 74 65 |d call S|NMPWrite|
|00003220| 44 6f 6e 65 28 29 20 77 | 68 65 6e 20 74 68 65 20 |Done() w|hen the |
|00003230| 54 72 61 70 20 77 72 69 | 74 65 20 63 6f 6d 70 6c |Trap wri|te compl|
|00003240| 65 74 65 73 2e 0d 54 68 | 65 20 54 72 61 70 20 54 |etes..Th|e Trap T|
|00003250| 61 62 6c 65 20 69 73 20 | 69 6d 70 6c 65 6e 74 65 |able is |implente|
|00003260| 64 20 62 79 20 74 68 65 | 20 4d 61 63 69 6e 74 6f |d by the| Macinto|
|00003270| 73 68 20 41 67 65 6e 74 | 20 61 6e 64 20 69 73 20 |sh Agent| and is |
|00003280| 64 65 66 69 6e 65 64 20 | 69 6e 20 41 53 4e 2e 31 |defined |in ASN.1|
|00003290| 20 62 79 20 74 68 65 20 | 4d 61 63 69 6e 74 6f 73 | by the |Macintos|
|000032a0| 68 20 53 79 73 74 65 6d | 20 4d 49 42 20 61 73 3a |h System| MIB as:|
|000032b0| 0d 54 72 61 70 52 65 71 | 75 65 73 74 45 6e 74 72 |.TrapReq|uestEntr|
|000032c0| 79 20 09 3a 3a 3d 20 53 | 45 51 55 45 4e 43 45 20 |y .::= S|EQUENCE |
|000032d0| 7b 0d 74 72 61 70 49 6e | 64 65 78 09 09 49 4e 54 |{.trapIn|dex..INT|
|000032e0| 45 47 45 52 2c 09 09 09 | 2f 2f 20 75 6e 73 69 67 |EGER,...|// unsig|
|000032f0| 6e 65 64 20 6c 6f 6e 67 | 0d 74 72 61 70 43 6f 6d |ned long|.trapCom|
|00003300| 6d 75 6e 69 74 79 09 09 | 4d 61 63 69 6e 74 6f 73 |munity..|Macintos|
|00003310| 68 44 69 73 70 6c 61 79 | 53 74 72 69 6e 67 2c 09 |hDisplay|String,.|
|00003320| 2f 2f 20 6f 70 61 71 75 | 65 20 64 61 74 61 20 0d |// opaqu|e data .|
|00003330| 74 72 61 70 50 72 6f 74 | 6f 63 6f 6c 09 09 4d 61 |trapProt|ocol..Ma|
|00003340| 63 4f 53 54 79 70 65 2c | 09 09 09 2f 2f 20 66 6f |cOSType,|...// fo|
|00003350| 75 72 20 62 79 74 65 73 | 0d 74 72 61 70 44 65 73 |ur bytes|.trapDes|
|00003360| 74 69 6e 61 74 69 6f 6e | 09 4f 43 54 45 54 20 53 |tination|.OCTET S|
|00003370| 54 52 49 4e 47 2c 09 09 | 09 2f 2f 20 6f 70 61 71 |TRING,..|.// opaq|
|00003380| 75 65 20 64 61 74 61 0d | 74 72 61 70 56 61 6c 69 |ue data.|trapVali|
|00003390| 64 69 74 79 09 09 49 4e | 54 45 47 45 52 09 09 09 |dity..IN|TEGER...|
|000033a0| 2f 2f 20 31 20 3d 20 76 | 61 6c 69 64 2c 20 32 20 |// 1 = v|alid, 2 |
|000033b0| 3d 20 69 6e 76 61 6c 69 | 64 0d 7d 0d 20 0d 54 68 |= invali|d.}. .Th|
|000033c0| 65 20 74 77 6f 20 66 69 | 65 6c 64 73 20 74 68 61 |e two fi|elds tha|
|000033d0| 74 20 61 6e 20 53 4e 4d | 50 20 54 72 61 6e 73 70 |t an SNM|P Transp|
|000033e0| 6f 72 74 20 6d 75 73 74 | 20 64 65 66 69 6e 65 20 |ort must| define |
|000033f0| 61 72 65 20 74 68 65 20 | 74 72 61 70 50 72 6f 74 |are the |trapProt|
|00003400| 6f 63 6f 6c 20 61 6e 64 | 20 74 68 65 20 74 72 61 |ocol and| the tra|
|00003410| 70 44 65 73 74 69 6e 61 | 74 69 6f 6e 20 2e 20 20 |pDestina|tion . |
|00003420| 54 68 65 20 74 72 61 70 | 50 72 6f 74 6f 63 6f 6c |The trap|Protocol|
|00003430| 20 69 73 20 63 6f 6d 70 | 61 72 65 64 20 62 79 20 | is comp|ared by |
|00003440| 74 68 65 20 53 4e 4d 50 | 20 4d 61 6e 61 67 65 72 |the SNMP| Manager|
|00003450| 20 74 6f 20 74 68 65 20 | 54 72 61 6e 73 70 6f 72 | to the |Transpor|
|00003460| 74 54 61 67 20 61 6e 64 | 20 69 73 20 75 73 65 64 |tTag and| is used|
|00003470| 20 74 6f 20 69 64 65 6e | 74 69 66 79 20 77 68 69 | to iden|tify whi|
|00003480| 63 68 20 53 4e 4d 50 20 | 54 72 61 6e 73 70 6f 72 |ch SNMP |Transpor|
|00003490| 74 20 77 69 6c 6c 20 62 | 65 20 61 62 6c 65 20 74 |t will b|e able t|
|000034a0| 6f 20 72 65 73 6f 6c 76 | 65 20 74 68 65 20 74 72 |o resolv|e the tr|
|000034b0| 61 70 44 65 73 74 69 6e | 61 74 69 6f 6e 20 65 6e |apDestin|ation en|
|000034c0| 74 72 79 20 61 6e 64 20 | 73 65 6e 64 20 74 68 65 |try and |send the|
|000034d0| 20 54 72 61 70 2e 20 20 | 54 68 65 20 74 72 61 70 | Trap. |The trap|
|000034e0| 50 72 6f 74 6f 63 6f 6c | 20 66 69 65 6c 64 20 6d |Protocol| field m|
|000034f0| 75 73 74 20 63 6f 6e 74 | 61 69 6e 20 74 68 65 20 |ust cont|ain the |
|00003500| 73 61 6d 65 20 76 61 6c | 75 65 20 74 68 61 74 20 |same val|ue that |
|00003510| 77 61 73 20 69 6e 69 74 | 69 61 6c 69 7a 65 64 20 |was init|ialized |
|00003520| 69 6e 20 74 68 65 20 74 | 72 61 6e 73 70 6f 72 74 |in the t|ransport|
|00003530| 54 61 67 20 66 69 65 6c | 64 2e 20 53 6f 6d 65 20 |Tag fiel|d. Some |
|00003540| 63 61 72 65 20 73 68 6f | 75 6c 64 20 62 65 20 67 |care sho|uld be g|
|00003550| 69 76 65 6e 20 74 6f 20 | 74 68 65 20 66 6f 72 6d |iven to |the form|
|00003560| 61 74 20 6f 66 20 74 68 | 65 20 74 72 61 70 44 65 |at of th|e trapDe|
|00003570| 73 74 69 6e 61 74 69 6f | 6e 20 61 73 20 6e 65 74 |stinatio|n as net|
|00003580| 77 6f 72 6b 20 6d 61 6e | 61 67 65 72 73 20 77 69 |work man|agers wi|
|00003590| 6c 6c 20 68 61 76 65 20 | 74 6f 20 65 6e 74 65 72 |ll have |to enter|
|000035a0| 20 74 68 65 73 65 20 61 | 64 64 72 65 73 73 65 73 | these a|ddresses|
|000035b0| 20 62 79 20 68 61 6e 64 | 20 66 72 6f 6d 20 61 20 | by hand| from a |
|000035c0| 63 6f 6e 73 6f 6c 65 2e | 20 20 0d 53 75 6d 6d 61 |console.| .Summa|
|000035d0| 72 79 0d 41 6e 20 53 4e | 4d 50 20 54 72 61 6e 73 |ry.An SN|MP Trans|
|000035e0| 70 6f 72 74 20 70 72 6f | 76 69 64 65 73 20 61 6e |port pro|vides an|
|000035f0| 20 69 6e 74 65 72 66 61 | 63 65 20 62 65 74 77 65 | interfa|ce betwe|
|00003600| 65 6e 20 74 68 65 20 53 | 4e 4d 50 20 4d 61 6e 61 |en the S|NMP Mana|
|00003610| 67 65 72 20 61 6e 64 20 | 61 20 6e 65 74 77 6f 72 |ger and |a networ|
|00003620| 6b 20 6c 61 79 65 72 20 | 6f 66 20 61 20 70 61 72 |k layer |of a par|
|00003630| 74 69 63 75 6c 61 72 20 | 6e 65 74 77 6f 72 6b 20 |ticular |network |
|00003640| 73 74 61 63 6b 2e 20 20 | 49 74 20 6d 75 73 74 20 |stack. |It must |
|00003650| 62 65 20 61 62 6c 65 20 | 74 6f 20 62 65 20 63 61 |be able |to be ca|
|00003660| 6c 6c 65 64 20 61 74 20 | 61 6e 79 20 74 69 6d 65 |lled at |any time|
|00003670| 2c 20 74 68 75 73 20 63 | 61 6e 6e 6f 74 20 64 65 |, thus c|annot de|
|00003680| 70 65 6e 64 20 6f 6e 20 | 74 68 65 20 4d 61 63 69 |pend on |the Maci|
|00003690| 6e 74 6f 73 68 20 6d 65 | 6d 6f 72 79 20 63 61 6c |ntosh me|mory cal|
|000036a0| 6c 73 2e 20 20 41 20 54 | 72 61 6e 73 70 6f 72 74 |ls. A T|ransport|
|000036b0| 20 6d 75 73 74 20 75 6e | 64 65 72 73 74 61 6e 64 | must un|derstand|
|000036c0| 20 68 6f 77 20 61 20 54 | 72 61 70 20 64 65 73 74 | how a T|rap dest|
|000036d0| 69 6e 61 74 69 6f 6e 20 | 28 63 6f 6e 73 6f 6c 65 |ination |(console|
|000036e0| 20 61 64 64 72 65 73 73 | 29 20 69 73 20 74 6f 20 | address|) is to |
|000036f0| 62 65 20 73 74 6f 72 65 | 64 20 69 6e 20 74 68 65 |be store|d in the|
|00003700| 20 4d 61 63 69 6e 74 6f | 73 68 20 41 67 65 6e 74 | Macinto|sh Agent|
|00003710| d5 73 20 54 72 61 70 20 | 54 61 62 6c 65 2e 20 20 |.s Trap |Table. |
|00003720| 54 68 69 73 20 61 64 64 | 72 65 73 73 20 66 6f 72 |This add|ress for|
|00003730| 6d 61 74 20 6d 75 73 74 | 20 62 65 20 73 74 61 62 |mat must| be stab|
|00003740| 6c 65 20 62 65 74 77 65 | 65 6e 20 72 65 2d 62 6f |le betwe|en re-bo|
|00003750| 6f 74 73 20 6f 66 20 74 | 68 65 20 73 79 73 74 65 |ots of t|he syste|
|00003760| 6d 20 61 6e 64 20 6d 75 | 73 74 20 62 65 20 72 65 |m and mu|st be re|
|00003770| 73 6f 6c 76 61 62 6c 65 | 20 69 6e 74 6f 20 61 20 |solvable| into a |
|00003780| 6e 65 74 77 6f 72 6b 20 | 61 64 64 72 65 73 73 20 |network |address |
|00003790| 66 6f 72 20 74 68 65 20 | 63 6f 6e 73 6f 6c 65 2e |for the |console.|
|000037a0| 20 20 49 74 20 69 73 20 | 74 68 65 20 72 65 73 70 | It is |the resp|
|000037b0| 6f 6e 73 69 62 69 6c 69 | 74 79 20 6f 66 20 74 68 |onsibili|ty of th|
|000037c0| 65 20 54 72 61 6e 73 70 | 6f 72 74 20 64 65 76 65 |e Transp|ort deve|
|000037d0| 6c 6f 70 65 72 20 74 6f | 20 69 6e 66 6f 72 6d 20 |loper to| inform |
|000037e0| 6e 65 74 77 6f 72 6b 20 | 6d 61 6e 61 67 65 72 73 |network |managers|
|000037f0| 20 6f 66 20 68 6f 77 20 | 74 6f 20 73 74 6f 72 65 | of how |to store|
|00003800| 20 74 68 69 73 20 61 64 | 64 72 65 73 73 2e 20 20 | this ad|dress. |
|00003810| 46 6f 72 20 49 50 58 2c | 20 41 70 70 6c 65 54 61 |For IPX,| AppleTa|
|00003820| 6c 6b 20 61 6e 64 20 4f | 53 49 2c 20 74 68 65 73 |lk and O|SI, thes|
|00003830| 65 20 73 74 61 6e 64 61 | 72 64 73 20 68 61 76 65 |e standa|rds have|
|00003840| 20 62 65 65 6e 20 73 70 | 65 63 69 66 69 65 64 20 | been sp|ecified |
|00003850| 69 6e 20 52 46 43 73 20 | 28 52 65 71 75 65 73 74 |in RFCs |(Request|
|00003860| 20 46 6f 72 20 43 6f 6d | 6d 65 6e 74 73 29 2e 20 | For Com|ments). |
|00003870| 54 68 65 73 65 20 64 6f | 63 75 6d 65 6e 74 73 20 |These do|cuments |
|00003880| 61 72 65 20 61 76 61 69 | 6c 61 62 6c 65 20 6f 6e |are avai|lable on|
|00003890| 2d 6c 69 6e 65 20 6f 66 | 66 20 6f 66 20 74 68 65 |-line of|f of the|
|000038a0| 20 49 6e 74 65 72 6e 65 | 74 20 61 6e 64 20 61 72 | Interne|t and ar|
|000038b0| 65 20 6d 61 69 6e 74 61 | 69 6e 65 64 20 69 6e 20 |e mainta|ined in |
|000038c0| 76 61 72 69 6f 75 73 20 | 72 65 70 6f 73 69 74 6f |various |reposito|
|000038d0| 72 69 65 73 20 61 6e 64 | 20 66 6f 72 6d 61 74 73 |ries and| formats|
|000038e0| 20 62 79 20 74 68 65 20 | 49 45 54 46 2e 0d 46 75 | by the |IETF..Fu|
|000038f0| 72 74 68 65 72 20 52 65 | 66 65 72 65 6e 63 65 3a |rther Re|ference:|
|00003900| 0d a5 09 4d 61 63 53 4e | 4d 50 20 50 72 6f 67 72 |...MacSN|MP Progr|
|00003910| 61 6d 6d 65 72 d5 73 20 | 47 75 69 64 65 0d a5 09 |ammer.s |Guide...|
|00003920| 53 68 61 72 65 64 20 4c | 69 62 72 61 72 79 20 4d |Shared L|ibrary M|
|00003930| 61 6e 61 67 65 72 20 50 | 72 6f 67 72 61 6d 6d 65 |anager P|rogramme|
|00003940| 72 d5 73 20 47 75 69 64 | 65 0d a5 09 52 46 43 20 |r.s Guid|e...RFC |
|00003950| 31 31 35 37 2c 20 41 20 | 53 69 6d 70 6c 65 20 4e |1157, A |Simple N|
|00003960| 65 74 77 6f 72 6b 20 4d | 61 6e 61 67 65 6d 65 6e |etwork M|anagemen|
|00003970| 74 20 50 72 6f 74 6f 63 | 6f 6c 20 28 53 4e 4d 50 |t Protoc|ol (SNMP|
|00003980| 29 0d a5 09 52 46 43 20 | 31 31 35 35 2c 20 53 74 |)...RFC |1155, St|
|00003990| 72 75 63 74 75 72 65 20 | 61 6e 64 20 49 64 65 6e |ructure |and Iden|
|000039a0| 74 69 66 69 63 61 74 69 | 6f 6e 20 6f 66 20 4d 61 |tificati|on of Ma|
|000039b0| 6e 61 67 65 6d 65 6e 74 | 20 49 6e 66 6f 72 6d 61 |nagement| Informa|
|000039c0| 74 69 6f 6e 20 66 6f 72 | 20 54 43 50 2f 49 50 2d |tion for| TCP/IP-|
|000039d0| 62 61 73 65 64 20 09 49 | 6e 74 65 72 6e 65 74 73 |based .I|nternets|
|000039e0| 0d a5 09 4d 61 63 69 6e | 74 6f 73 68 20 53 79 73 |...Macin|tosh Sys|
|000039f0| 74 65 6d 20 4d 49 42 0d | a5 09 53 4e 4d 50 20 6f |tem MIB.|..SNMP o|
|00003a00| 76 65 72 20 41 70 70 6c | 65 54 61 6c 6b 2c 20 49 |ver Appl|eTalk, I|
|00003a10| 6e 74 65 72 6e 65 74 20 | 44 72 61 66 74 20 28 53 |nternet |Draft (S|
|00003a20| 6f 6f 6e 20 74 6f 20 62 | 65 20 52 46 43 20 58 58 |oon to b|e RFC XX|
|00003a30| 58 58 29 0d 19 1c 00 00 | 00 00 03 48 02 52 00 11 |XX).....|...H.R..|
|00003a40| 02 ff 0c 00 ff ff ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00003a50| 02 52 00 00 03 48 00 00 | 00 00 00 00 00 a0 00 82 |.R...H..|........|
|00003a60| 00 1e 00 01 00 0a 00 2f | 00 5a 00 81 02 23 00 07 |......./|.Z...#..|
|00003a70| 00 00 00 00 00 08 00 0a | 00 09 30 49 88 3a b5 9c |........|..0I.:..|
|00003a80| f0 39 00 22 00 7b 02 1a | 00 00 00 09 ff ff ff ff |.9.".{..|........|
|00003a90| ff ff ff ff 00 23 00 00 | 00 a0 00 c4 00 a1 00 64 |.....#..|.......d|
|00003aa0| 00 0a 4f 4e 4c 4e 00 66 | 00 00 01 fe 00 a0 00 8c |..ONLN.f|........|
|00003ab0| 00 a1 00 64 00 31 64 72 | 77 32 00 02 01 c9 00 2d |...d.1dr|w2.....-|
|00003ac0| 01 e1 01 5f 00 00 80 00 | 00 00 00 00 00 00 00 00 |..._....|........|
|00003ad0| 00 00 00 00 00 00 00 00 | ff ff ff ff ff ff 00 01 |........|........|
|00003ae0| 00 00 01 8f 00 00 00 00 | 00 a1 00 96 00 0c 01 00 |........|........|
|00003af0| 00 00 02 78 00 00 00 00 | 00 00 00 a1 00 64 00 10 |...x....|.....d..|
|00003b00| 64 72 77 32 00 3a 00 05 | 00 00 00 00 00 01 00 00 |drw2.:..|........|
|00003b10| 00 a1 00 64 00 0e 64 72 | 77 32 00 3a 00 02 00 24 |...d..dr|w2.:...$|
|00003b20| 00 00 00 00 00 a1 00 64 | 00 34 64 72 77 32 00 3a |.......d|.4drw2.:|
|00003b30| 00 01 00 03 01 00 00 18 | 00 00 00 00 00 00 00 00 |........|........|
|00003b40| 00 00 00 01 00 01 00 01 | 00 01 00 00 00 00 00 00 |........|........|
|00003b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 a1 |........|........|
|00003b60| 00 9a 00 08 ff fa 00 00 | 00 97 40 00 00 a0 00 98 |........|..@.....|
|00003b70| 00 2c 00 08 00 14 05 54 | 69 6d 65 73 00 03 00 14 |.,.....T|imes....|
|00003b80| 00 04 01 00 00 0d 00 18 | 00 2e 00 04 00 00 01 00 |........|........|
|00003b90| 00 10 00 52 01 c9 00 52 | 01 c9 00 a1 00 64 00 10 |...R...R|.....d..|
|00003ba0| 4f 4e 4c 4e 00 64 ff ff | 00 00 00 00 00 00 00 00 |ONLN.d..|........|
|00003bb0| 00 2b 5d 42 13 4e 65 77 | 20 54 65 63 68 6e 69 63 |.+]B.New| Technic|
|00003bc0| 61 6c 20 4e 6f 74 65 73 | 00 a0 00 99 00 a1 00 64 |al Notes|.......d|
|00003bd0| 00 08 64 72 77 32 00 3a | 00 04 00 a1 14 e3 00 02 |..drw2.:|........|
|00003be0| 00 01 00 a0 00 97 00 a1 | 00 64 00 31 64 72 77 32 |........|.d.1drw2|
|00003bf0| 00 02 02 06 01 65 02 19 | 01 f4 00 00 80 00 00 00 |.....e..|........|
|00003c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 ff ff |........|........|
|00003c10| ff ff ff ff 00 01 00 00 | 01 50 00 00 00 00 00 a1 |........|.P......|
|00003c20| 00 96 00 0c 01 00 00 00 | 02 78 00 00 00 00 00 00 |........|.x......|
|00003c30| 00 a1 00 64 00 10 64 72 | 77 32 00 3a 00 05 00 00 |...d..dr|w2.:....|
|00003c40| 00 00 00 01 00 00 00 a1 | 00 64 00 0e 64 72 77 32 |........|.d..drw2|
|00003c50| 00 3a 00 02 00 24 00 00 | 00 00 00 a1 00 64 00 34 |.:...$..|.....d.4|
|00003c60| 64 72 77 32 00 3a 00 01 | 00 03 00 00 00 12 00 00 |drw2.:..|........|
|00003c70| 00 00 00 00 00 00 00 00 | 00 01 00 01 00 01 00 01 |........|........|
|00003c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c90| 00 00 00 00 00 a1 00 9a | 00 08 ff fb 80 00 00 45 |........|.......E|
|00003ca0| c0 00 00 a0 00 98 00 04 | 00 00 00 0d 00 12 00 a1 |........|........|
|00003cb0| 00 64 00 10 4f 4e 4c 4e | 00 64 ff ff 00 00 00 00 |.d..ONLN|.d......|
|00003cc0| 00 00 00 00 00 28 00 7b | 01 95 11 44 65 76 65 6c |.....(.{|...Devel|
|00003cd0| 6f 70 65 72 20 53 75 70 | 70 6f 72 74 00 a0 00 99 |oper Sup|port....|
|00003ce0| 00 a1 00 64 00 08 64 72 | 77 32 00 3a 00 04 00 a1 |...d..dr|w2.:....|
|00003cf0| 14 e3 00 02 00 01 00 a0 | 00 97 00 a1 00 64 00 60 |........|.....d.`|
|00003d00| 64 72 77 32 00 03 02 00 | 00 2d 02 00 01 ef 00 00 |drw2....|.-......|
|00003d10| 00 00 00 00 00 00 02 02 | 00 00 00 00 00 00 00 00 |........|........|
|00003d20| 00 00 ff ff ff ff ff ff | 00 01 00 01 08 4b 00 00 |........|.....K..|
|00003d30| 00 00 02 00 01 ef 02 00 | 00 2d 00 00 00 00 00 00 |........|.-......|
|00003d40| 00 00 00 01 00 14 00 0c | 00 03 00 02 00 00 00 5a |........|.......Z|
|00003d50| 00 01 00 00 00 02 00 00 | 00 03 00 0c 00 00 00 00 |........|........|
|00003d60| 00 07 00 02 00 02 00 08 | 00 08 00 20 00 66 02 1c |........|... .f..|
|00003d70| 00 66 00 5a 00 a1 00 64 | 00 31 64 72 77 32 00 02 |.f.Z...d|.1drw2..|
|00003d80| 01 ca 01 c0 01 fa 01 e9 | 00 00 00 00 00 00 00 00 |........|........|
|00003d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 ff ff ff ff |........|........|
|00003da0| ff ff 00 01 00 00 01 4b | 00 00 00 00 00 a1 00 96 |.......K|........|
|00003db0| 00 0c 01 00 00 00 02 78 | 00 00 00 00 00 00 00 a1 |.......x|........|
|00003dc0| 00 64 00 10 64 72 77 32 | 00 3a 00 05 00 00 00 00 |.d..drw2|.:......|
|00003dd0| 00 01 00 00 00 a1 00 64 | 00 0e 64 72 77 32 00 3a |.......d|..drw2.:|
|00003de0| 00 02 00 24 00 00 00 00 | 00 a1 00 64 00 34 64 72 |...$....|...d.4dr|
|00003df0| 77 32 00 3a 00 01 00 03 | 00 00 00 30 00 00 00 00 |w2.:....|...0....|
|00003e00| 00 00 00 00 00 00 00 01 | 00 01 00 01 00 01 00 00 |........|........|
|00003e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e20| 00 00 00 a1 00 9a 00 08 | ff f4 00 00 00 13 80 00 |........|........|
|00003e30| 00 a0 00 98 00 0d 00 30 | 00 a1 00 64 00 10 4f 4e |.......0|...d..ON|
|00003e40| 4c 4e 00 64 ff ff 00 00 | 00 00 00 00 00 00 00 28 |LN.d....|.......(|
|00003e50| 00 55 01 ef 01 f0 00 a0 | 00 99 00 a1 00 64 00 08 |.U......|.....d..|
|00003e60| 64 72 77 32 00 3a 00 04 | 00 a1 14 e3 00 02 00 01 |drw2.:..|........|
|00003e70| 00 a0 00 97 00 a1 00 64 | 00 31 64 72 77 32 00 02 |.......d|.1drw2..|
|00003e80| 01 ef 01 e6 01 fa 01 f0 | 00 00 00 00 00 00 00 00 |........|........|
|00003e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 ff ff ff ff |........|........|
|00003ea0| ff ff 00 01 00 00 01 00 | 00 00 00 00 00 a1 00 96 |........|........|
|00003eb0| 00 0c 01 00 00 00 02 78 | 00 00 00 00 00 00 00 a1 |.......x|........|
|00003ec0| 00 64 00 10 64 72 77 32 | 00 3a 00 05 00 00 00 00 |.d..drw2|.:......|
|00003ed0| 00 01 00 00 00 a1 00 64 | 00 0e 64 72 77 32 00 3a |.......d|..drw2.:|
|00003ee0| 00 02 00 24 00 00 00 00 | 00 a1 00 64 00 34 64 72 |...$....|...d.4dr|
|00003ef0| 77 32 00 3a 00 01 00 03 | 00 00 00 09 00 00 00 00 |w2.:....|........|
|00003f00| 00 00 00 00 00 00 00 01 | 00 01 00 01 00 01 00 00 |........|........|
|00003f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f20| 00 00 00 a1 00 9a 00 08 | ff fd 80 00 00 04 00 00 |........|........|
|00003f30| 00 a0 00 98 00 0d 00 09 | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00003f40| 4c 4e 00 64 ff ff 00 00 | 00 00 00 00 00 00 00 2b |LN.d....|.......+|
|00003f50| 26 09 01 a8 00 a0 00 99 | 00 a1 00 64 00 08 64 72 |&.......|...d..dr|
|00003f60| 77 32 00 3a 00 04 00 a1 | 14 e3 00 02 00 01 00 a0 |w2.:....|........|
|00003f70| 00 97 00 a1 00 64 00 31 | 64 72 77 32 00 02 01 e5 |.....d.1|drw2....|
|00003f80| 00 2d 01 f8 00 79 00 00 | 00 00 00 00 00 00 00 00 |.-...y..|........|
|00003f90| 00 00 00 00 00 00 00 00 | 00 00 ff ff ff ff ff ff |........|........|
|00003fa0| 00 01 00 01 01 00 00 00 | 01 00 00 a1 00 96 00 0c |........|........|
|00003fb0| 01 00 00 00 02 78 00 00 | 00 00 00 00 00 a1 00 64 |.....x..|.......d|
|00003fc0| 00 10 64 72 77 32 00 3a | 00 05 00 00 00 00 00 01 |..drw2.:|........|
|00003fd0| 00 00 00 a1 00 64 00 0e | 64 72 77 32 00 3a 00 02 |.....d..|drw2.:..|
|00003fe0| 00 24 00 00 00 00 00 a1 | 00 64 00 34 64 72 77 32 |.$......|.d.4drw2|
|00003ff0| 00 3a 00 01 00 03 00 00 | 00 12 00 00 00 00 00 00 |.:......|........|
|00004000| 00 00 00 00 00 01 00 01 | 00 01 00 01 00 00 00 00 |........|........|
|00004010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004020| 00 a1 00 9a 00 08 ff fb | 80 00 00 25 00 00 00 a0 |........|...%....|
|00004030| 00 98 00 0d 00 12 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00004040| 00 64 ff ff 00 00 00 00 | 00 00 00 00 00 28 00 5a |.d......|.....(.Z|
|00004050| 00 5c 09 4d 61 63 69 6e | 74 6f 73 68 00 a0 00 99 |.\.Macin|tosh....|
|00004060| 00 a1 00 64 00 08 64 72 | 77 32 00 3a 00 04 00 a1 |...d..dr|w2.:....|
|00004070| 14 e3 00 02 00 01 00 a0 | 00 97 00 a0 00 8d 00 a1 |........|........|
|00004080| 00 64 00 06 64 72 77 32 | 00 44 00 a0 00 83 00 01 |.d..drw2|.D......|
|00004090| 00 0a 00 00 00 00 03 49 | 02 52 00 04 01 00 00 2e |.......I|.R......|
|000040a0| 00 04 00 00 00 00 00 10 | 00 01 00 01 00 01 00 01 |........|........|
|000040b0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 ff ff 00 00 |...d..ON|LN.d....|
|000040c0| 00 00 00 00 00 00 00 28 | 00 9b 00 5a 0f 53 4e 4d |.......(|...Z.SNM|
|000040d0| 50 20 54 72 61 6e 73 70 | 6f 72 74 73 00 04 00 00 |P Transp|orts....|
|000040e0| 00 0d 00 0c 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000040f0| ff ff 00 00 00 00 00 00 | 00 00 00 2a 19 0b 57 72 |........|...*..Wr|
|00004100| 69 74 74 65 6e 20 62 79 | 3a 00 00 a1 00 64 00 10 |itten by|:....d..|
|00004110| 4f 4e 4c 4e 00 64 ff ff | 00 00 00 00 00 00 00 00 |ONLN.d..|........|
|00004120| 00 29 48 1d 4d 69 6b 65 | 20 52 69 74 74 65 72 20 |.)H.Mike| Ritter |
|00004130| 61 6e 64 20 56 69 6e 63 | 65 6e 74 20 4c 75 62 65 |and Vinc|ent Lube|
|00004140| 74 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 ff ff |t....d..|ONLN.d..|
|00004150| 00 00 00 00 00 00 00 00 | 00 28 00 b4 01 dc 0c 4a |........|.(.....J|
|00004160| 61 6e 75 61 72 79 20 31 | 39 39 33 00 00 a1 00 64 |anuary 1|993....d|
|00004170| 00 10 4f 4e 4c 4e 00 64 | 00 00 00 c3 00 5a 00 cf |..ONLN.d|.....Z..|
|00004180| 01 25 00 28 00 cc 00 5a | 2a 54 68 69 73 20 54 65 |.%.(...Z|*This Te|
|00004190| 63 68 6e 69 63 61 6c 20 | 4e 6f 74 65 20 65 78 70 |chnical |Note exp|
|000041a0| 6c 61 69 6e 73 20 68 6f | 77 20 74 6f 20 77 72 69 |lains ho|w to wri|
|000041b0| 74 65 20 00 00 06 00 01 | 00 00 00 a1 00 64 00 10 |te .....|.....d..|
|000041c0| 4f 4e 4c 4e 00 64 00 2a | 00 c3 01 25 00 cf 02 1c |ONLN.d.*|...%....|
|000041d0| 00 29 cb 2c 61 6e 20 53 | 4e 4d 50 20 28 53 69 6d |.).,an S|NMP (Sim|
|000041e0| 70 6c 65 20 4e 65 74 77 | 6f 72 6b 20 4d 61 6e 61 |ple Netw|ork Mana|
|000041f0| 67 65 6d 65 6e 74 20 50 | 72 6f 74 6f 63 6f 6c 29 |gement P|rotocol)|
|00004200| 00 06 00 04 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00004210| 00 64 00 57 00 cf 00 5a | 00 db 01 66 00 28 00 d8 |.d.W...Z|...f.(..|
|00004220| 00 5a 30 54 72 61 6e 73 | 70 6f 72 74 2e 20 41 6e |.Z0Trans|port. An|
|00004230| 20 53 4e 4d 50 20 54 72 | 61 6e 73 70 6f 72 74 20 | SNMP Tr|ansport |
|00004240| 69 73 20 72 65 73 70 6f | 6e 73 69 62 6c 65 20 66 |is respo|nsible f|
|00004250| 6f 72 20 00 00 06 00 05 | 00 00 00 a1 00 64 00 10 |or .....|.....d..|
|00004260| 4f 4e 4c 4e 00 64 00 87 | 00 cf 01 66 00 db 02 1c |ONLN.d..|...f....|
|00004270| 00 28 00 d8 01 66 1e 63 | 6f 6d 6d 75 6e 69 63 61 |.(...f.c|ommunica|
|00004280| 74 69 6e 67 20 62 65 74 | 77 65 65 6e 20 74 68 65 |ting bet|ween the|
|00004290| 20 53 4e 4d 50 00 00 06 | 00 00 00 00 00 a1 00 64 | SNMP...|.......d|
|000042a0| 00 10 4f 4e 4c 4e 00 64 | 00 a6 00 db 00 5a 00 e7 |..ONLN.d|.....Z..|
|000042b0| 02 0e 00 28 00 e4 00 5a | 5b 4d 61 6e 61 67 65 72 |...(...Z|[Manager|
|000042c0| 20 61 6e 64 20 61 20 70 | 61 72 74 69 63 75 6c 61 | and a p|articula|
|000042d0| 72 20 6e 65 74 77 6f 72 | 6b 20 6c 61 79 65 72 2e |r networ|k layer.|
|000042e0| 20 20 54 68 75 73 2c 20 | 69 66 20 79 6f 75 20 77 | Thus, |if you w|
|000042f0| 65 72 65 20 77 72 69 74 | 69 6e 67 20 61 20 6e 65 |ere writ|ing a ne|
|00004300| 77 20 6e 65 74 77 6f 72 | 6b 20 73 74 61 63 6b 20 |w networ|k stack |
|00004310| 66 6f 72 20 00 06 00 01 | 00 00 00 a1 00 64 00 10 |for ....|.....d..|
|00004320| 4f 4e 4c 4e 00 64 01 01 | 00 db 02 0e 00 e7 02 1c |ONLN.d..|........|
|00004330| 00 28 00 e4 02 0e 03 74 | 68 65 00 06 00 00 00 00 |.(.....t|he......|
|00004340| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 01 05 00 e7 |...d..ON|LN.d....|
|00004350| 00 5a 00 f3 01 54 00 28 | 00 f0 00 5a 31 4d 61 63 |.Z...T.(|...Z1Mac|
|00004360| 69 6e 74 6f 73 68 20 61 | 6e 64 20 77 61 6e 74 65 |intosh a|nd wante|
|00004370| 64 20 69 74 20 74 6f 20 | 75 73 65 20 74 68 65 20 |d it to |use the |
|00004380| 53 4e 4d 50 20 4d 61 6e | 61 67 65 72 2c 20 00 06 |SNMP Man|ager, ..|
|00004390| 00 01 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000043a0| 01 36 00 e7 01 54 00 f3 | 02 1c 00 29 fa 25 79 6f |.6...T..|...).%yo|
|000043b0| 75 20 77 6f 75 6c 64 20 | 77 72 69 74 65 20 61 6e |u would |write an|
|000043c0| 20 53 4e 4d 50 20 54 72 | 61 6e 73 70 6f 72 74 20 | SNMP Tr|ansport |
|000043d0| 66 6f 72 00 00 06 00 00 | 00 00 00 a1 00 64 00 10 |for.....|.....d..|
|000043e0| 4f 4e 4c 4e 00 64 01 5c | 00 f3 00 5a 00 ff 00 b9 |ONLN.d.\|...Z....|
|000043f0| 00 28 00 fc 00 5a 13 79 | 6f 75 72 20 6e 65 74 77 |.(...Z.y|our netw|
|00004400| 6f 72 6b 20 73 74 61 63 | 6b 2e 00 04 01 00 00 a1 |ork stac|k.......|
|00004410| 00 64 00 10 4f 4e 4c 4e | 00 64 01 72 01 0b 00 5a |.d..ONLN|.d.r...Z|
|00004420| 01 17 00 80 00 2a 18 06 | 54 6f 70 69 63 73 00 04 |.....*..|Topics..|
|00004430| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 79 |.....d..|ONLN.d.y|
|00004440| 01 17 00 75 01 23 01 4f | 00 2b 1b 0c 2d a5 20 43 |...u.#.O|.+..-. C|
|00004450| 72 65 61 74 69 6e 67 20 | 61 6e 64 20 69 6e 69 74 |reating |and init|
|00004460| 69 61 6c 69 7a 69 6e 67 | 20 61 6e 20 53 4e 4d 50 |ializing| an SNMP|
|00004470| 20 54 72 61 6e 73 70 6f | 72 74 00 a1 00 64 00 10 | Transpo|rt...d..|
|00004480| 4f 4e 4c 4e 00 64 01 a7 | 01 23 00 75 01 2f 01 29 |ONLN.d..|.#.u./.)|
|00004490| 00 2a 0c 22 a5 20 52 65 | 61 64 69 6e 67 20 61 6e |.*.". Re|ading an|
|000044a0| 64 20 57 72 69 74 69 6e | 67 20 53 4e 4d 50 20 50 |d Writin|g SNMP P|
|000044b0| 61 63 6b 65 74 73 00 07 | 00 01 00 01 00 20 01 3b |ackets..|..... .;|
|000044c0| 00 58 01 3b 02 1d 00 04 | 01 00 00 0d 00 0e 00 a1 |.X.;....|........|
|000044d0| 00 64 00 10 4f 4e 4c 4e | 00 64 01 cb 01 54 00 5a |.d..ONLN|.d...T.Z|
|000044e0| 01 63 00 ad 00 28 01 60 | 00 5a 0c 49 6e 74 72 6f |.c...(.`|.Z.Intro|
|000044f0| 64 75 63 74 69 6f 6e 00 | 00 04 00 00 00 0d 00 0c |duction.|........|
|00004500| 00 06 00 01 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00004510| 00 64 01 d8 01 6f 00 5a | 01 7b 01 dc 00 2a 18 4c |.d...o.Z|.{...*.L|
|00004520| 49 74 20 69 73 20 61 73 | 73 75 6d 65 64 20 69 6e |It is as|sumed in|
|00004530| 20 74 68 69 73 20 64 6f | 63 75 6d 65 6e 74 20 74 | this do|cument t|
|00004540| 68 61 74 20 79 6f 75 20 | 75 6e 64 65 72 73 74 61 |hat you |understa|
|00004550| 6e 64 20 4d 61 63 53 4e | 4d 50 2c 20 6f 62 6a 65 |nd MacSN|MP, obje|
|00004560| 63 74 20 6f 72 69 65 6e | 74 65 64 20 00 06 00 02 |ct orien|ted ....|
|00004570| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 02 24 |.....d..|ONLN.d.$|
|00004580| 01 6f 01 dc 01 7b 02 1c | 00 28 01 78 01 dc 0b 70 |.o...{..|.(.x...p|
|00004590| 72 6f 67 72 61 6d 6d 69 | 6e 67 00 a1 00 64 00 10 |rogrammi|ng...d..|
|000045a0| 4f 4e 4c 4e 00 64 02 30 | 01 7b 00 5a 01 87 01 1f |ONLN.d.0|.{.Z....|
|000045b0| 00 28 01 84 00 5a 25 61 | 6e 64 20 74 68 65 20 53 |.(...Z%a|nd the S|
|000045c0| 68 61 72 65 64 20 4c 69 | 62 72 61 72 79 20 4d 61 |hared Li|brary Ma|
|000045d0| 6e 61 67 65 72 2e 20 20 | 54 68 65 20 00 06 00 03 |nager. |The ....|
|000045e0| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 02 55 |.....d..|ONLN.d.U|
|000045f0| 01 7b 01 1f 01 87 02 1c | 00 29 c5 2e 53 4e 4d 50 |.{......|.)..SNMP|
|00004600| 20 4d 61 6e 61 67 65 72 | 20 69 73 20 62 75 69 6c | Manager| is buil|
|00004610| 74 20 75 73 69 6e 67 20 | 74 68 65 20 53 68 61 72 |t using |the Shar|
|00004620| 65 64 20 4c 69 62 72 61 | 72 79 00 06 00 01 00 00 |ed Libra|ry......|
|00004630| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 02 84 01 87 |...d..ON|LN.d....|
|00004640| 00 5a 01 93 00 c2 00 28 | 01 90 00 5a 15 4d 61 6e |.Z.....(|...Z.Man|
|00004650| 61 67 65 72 20 61 6e 64 | 20 69 73 20 61 20 73 65 |ager and| is a se|
|00004660| 74 20 00 06 00 02 00 00 | 00 a1 00 64 00 10 4f 4e |t ......|...d..ON|
|00004670| 4c 4e 00 64 02 99 01 87 | 00 c2 01 93 02 1c 00 29 |LN.d....|.......)|
|00004680| 68 42 6f 66 20 53 68 61 | 72 65 64 20 4c 69 62 72 |hBof Sha|red Libr|
|00004690| 61 72 69 65 73 2e 20 20 | 54 68 65 20 53 4e 4d 50 |aries. |The SNMP|
|000046a0| 20 4d 61 6e 61 67 65 72 | 20 73 68 61 72 65 64 20 | Manager| shared |
|000046b0| 6c 69 62 72 61 72 79 20 | 63 6f 6e 74 61 69 6e 73 |library |contains|
|000046c0| 20 74 68 65 00 06 00 00 | 00 00 00 a1 00 64 00 10 | the....|.....d..|
|000046d0| 4f 4e 4c 4e 00 64 02 dc | 01 93 00 5a 01 9f 00 c3 |ONLN.d..|...Z....|
|000046e0| 00 28 01 9c 00 5a 16 69 | 6d 70 6c 65 6d 65 6e 74 |.(...Z.i|mplement|
|000046f0| 61 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 00 00 06 |ation of| the ...|
|00004700| 00 01 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004710| 02 f2 01 93 00 c3 01 9f | 02 1c 00 29 69 44 62 61 |........|...)iDba|
|00004720| 73 65 20 63 6c 61 73 73 | 20 66 6f 72 20 61 6e 20 |se class| for an |
|00004730| 53 4e 4d 50 20 54 72 61 | 6e 73 70 6f 72 74 2e 20 |SNMP Tra|nsport. |
|00004740| 20 59 6f 75 72 20 74 72 | 61 6e 73 70 6f 72 74 20 | Your tr|ansport |
|00004750| 6d 75 73 74 20 62 65 20 | 61 20 73 75 62 63 6c 61 |must be |a subcla|
|00004760| 73 73 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 03 37 |ss...d..|ONLN.d.7|
|00004770| 01 9f 00 5a 01 ab 01 d3 | 00 28 01 a8 00 5a 47 6f |...Z....|.(...ZGo|
|00004780| 66 20 74 68 69 73 20 53 | 4e 4d 50 20 54 72 61 6e |f this S|NMP Tran|
|00004790| 73 70 6f 72 74 20 63 6c | 61 73 73 2e 20 20 46 6f |sport cl|ass. Fo|
|000047a0| 72 20 6d 6f 72 65 20 69 | 6e 66 6f 72 6d 61 74 69 |r more i|nformati|
|000047b0| 6f 6e 20 6f 6e 20 4d 61 | 63 53 4e 4d 50 20 61 6e |on on Ma|cSNMP an|
|000047c0| 64 20 74 68 65 20 00 06 | 00 02 00 00 00 a1 00 64 |d the ..|.......d|
|000047d0| 00 10 4f 4e 4c 4e 00 64 | 03 7e 01 9f 01 d3 01 ab |..ONLN.d|.~......|
|000047e0| 02 1c 00 28 01 a8 01 d3 | 0e 53 68 61 72 65 64 20 |...(....|.Shared |
|000047f0| 4c 69 62 72 61 72 79 00 | 00 06 00 00 00 00 00 a1 |Library.|........|
|00004800| 00 64 00 10 4f 4e 4c 4e | 00 64 03 8d 01 ab 00 5a |.d..ONLN|.d.....Z|
|00004810| 01 b7 00 ff 00 28 01 b4 | 00 5a 1e 4d 61 6e 61 67 |.....(..|.Z.Manag|
|00004820| 65 72 20 73 65 65 20 74 | 68 65 20 45 2e 54 2e 4f |er see t|he E.T.O|
|00004830| 2e 20 43 44 20 52 4f 4d | 2e 00 00 a1 00 64 00 10 |. CD ROM|.....d..|
|00004840| 4f 4e 4c 4e 00 64 03 ac | 01 c3 00 5a 01 cf 01 59 |ONLN.d..|...Z...Y|
|00004850| 00 2a 18 34 54 68 69 73 | 20 54 65 63 68 20 4e 6f |.*.4This| Tech No|
|00004860| 74 65 20 70 72 6f 76 69 | 64 65 73 20 73 6f 6d 65 |te provi|des some|
|00004870| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 69 6e 66 6f | additio|nal info|
|00004880| 72 6d 61 74 69 6f 6e 20 | 00 06 00 01 00 00 00 a1 |rmation |........|
|00004890| 00 64 00 10 4f 4e 4c 4e | 00 64 03 e0 01 c3 01 59 |.d..ONLN|.d.....Y|
|000048a0| 01 cf 02 1c 00 29 ff 25 | 6e 65 65 64 65 64 20 74 |.....).%|needed t|
|000048b0| 6f 20 63 6f 6e 73 74 72 | 75 63 74 20 61 6e 20 53 |o constr|uct an S|
|000048c0| 4e 4d 50 20 54 72 61 6e | 73 70 6f 72 74 00 00 06 |NMP Tran|sport...|
|000048d0| 00 02 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000048e0| 04 06 01 cf 00 5a 01 db | 01 cd 00 28 01 d8 00 5a |.....Z..|...(...Z|
|000048f0| 47 66 6f 72 20 61 20 70 | 61 72 74 69 63 75 6c 61 |Gfor a p|articula|
|00004900| 72 20 6e 65 74 77 6f 72 | 6b 20 73 74 61 63 6b 2e |r networ|k stack.|
|00004910| 20 20 41 6e 20 53 4e 4d | 50 20 54 72 61 6e 73 70 | An SNM|P Transp|
|00004920| 6f 72 74 20 69 73 20 72 | 65 71 75 69 72 65 64 20 |ort is r|equired |
|00004930| 74 6f 20 6b 6e 6f 77 20 | 00 06 00 03 00 00 00 a1 |to know |........|
|00004940| 00 64 00 10 4f 4e 4c 4e | 00 64 04 4d 01 cf 01 cd |.d..ONLN|.d.M....|
|00004950| 01 db 02 1c 00 28 01 d8 | 01 cd 10 61 62 6f 75 74 |.....(..|...about|
|00004960| 20 61 6c 6c 20 6f 66 20 | 74 68 65 00 00 06 00 00 | all of |the.....|
|00004970| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 04 5e |.....d..|ONLN.d.^|
|00004980| 01 db 00 5a 01 e7 01 11 | 00 28 01 e4 00 5a 26 73 |...Z....|.(...Z&s|
|00004990| 70 65 63 69 66 69 63 20 | 69 64 69 6f 73 79 6e 63 |pecific |idiosync|
|000049a0| 72 61 73 69 65 73 20 6f | 66 20 53 4e 4d 50 20 66 |rasies o|f SNMP f|
|000049b0| 6f 72 20 61 20 00 00 06 | 00 01 00 00 00 a1 00 64 |or a ...|.......d|
|000049c0| 00 10 4f 4e 4c 4e 00 64 | 04 84 01 db 01 11 01 e7 |..ONLN.d|........|
|000049d0| 02 1c 00 29 b7 35 70 61 | 72 74 69 63 75 6c 61 72 |...).5pa|rticular|
|000049e0| 20 6e 65 74 77 6f 72 6b | 20 73 74 61 63 6b 2e 20 | network| stack. |
|000049f0| 53 4e 4d 50 20 77 61 73 | 20 6f 72 69 67 69 6e 61 |SNMP was| origina|
|00004a00| 6c 6c 79 20 64 65 66 69 | 6e 65 64 00 00 06 00 00 |lly defi|ned.....|
|00004a10| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 04 ba |.....d..|ONLN.d..|
|00004a20| 01 e7 00 5a 01 f3 00 91 | 00 28 01 f0 00 5a 0c 74 |...Z....|.(...Z.t|
|00004a30| 6f 20 72 75 6e 20 6f 76 | 65 72 20 00 00 06 00 01 |o run ov|er .....|
|00004a40| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 04 c6 |.....d..|ONLN.d..|
|00004a50| 01 e7 00 91 01 f3 02 1c | 00 29 37 4d 74 68 65 20 |........|.)7Mthe |
|00004a60| 54 43 50 20 73 74 61 63 | 6b 20 75 73 69 6e 67 20 |TCP stac|k using |
|00004a70| 55 44 50 2e 20 20 54 68 | 65 20 49 45 54 46 20 28 |UDP. Th|e IETF (|
|00004a80| 49 6e 74 65 72 6e 65 74 | 20 45 6e 67 69 6e 65 65 |Internet| Enginee|
|00004a90| 72 69 6e 67 20 54 61 73 | 6b 20 46 6f 72 63 65 29 |ring Tas|k Force)|
|00004aa0| 20 68 61 73 20 61 6c 73 | 6f 00 00 06 00 00 00 00 | has als|o.......|
|00004ab0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 05 14 01 f3 |...d..ON|LN.d....|
|00004ac0| 00 5a 01 ff 00 b7 00 28 | 01 fc 00 5a 13 64 65 66 |.Z.....(|...Z.def|
|00004ad0| 69 6e 65 64 20 68 6f 77 | 20 74 6f 20 72 75 6e 20 |ined how| to run |
|00004ae0| 00 06 00 01 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00004af0| 00 64 05 27 01 f3 00 b7 | 01 ff 02 1c 00 29 5d 44 |.d.'....|.....)]D|
|00004b00| 53 4e 4d 50 20 6f 76 65 | 72 20 74 68 72 65 65 20 |SNMP ove|r three |
|00004b10| 6f 74 68 65 72 20 6e 65 | 74 77 6f 72 6b 20 73 74 |other ne|twork st|
|00004b20| 61 63 6b 73 3a 20 41 70 | 70 6c 65 54 61 6c 6b 2c |acks: Ap|pleTalk,|
|00004b30| 20 49 50 58 20 61 6e 64 | 20 4f 53 49 2e 20 20 54 | IPX and| OSI. T|
|00004b40| 68 65 73 65 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |hese...d|..ONLN.d|
|00004b50| 05 6c 01 ff 00 5a 02 0b | 01 dc 00 28 02 08 00 5a |.l...Z..|...(...Z|
|00004b60| 4a 6d 65 74 68 6f 64 73 | 20 61 72 65 20 64 6f 63 |Jmethods| are doc|
|00004b70| 75 6d 65 6e 74 65 64 20 | 69 6e 20 64 72 61 66 74 |umented |in draft|
|00004b80| 20 52 46 43 73 20 70 75 | 62 6c 69 73 68 65 64 20 | RFCs pu|blished |
|00004b90| 62 79 20 74 68 65 20 49 | 45 54 46 20 61 6e 64 20 |by the I|ETF and |
|00004ba0| 61 72 65 20 6d 6f 76 69 | 6e 67 20 00 00 06 00 02 |are movi|ng .....|
|00004bb0| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 05 b6 |.....d..|ONLN.d..|
|00004bc0| 01 ff 01 dc 02 0b 02 1c | 00 28 02 08 01 dc 0c 66 |........|.(.....f|
|00004bd0| 6f 72 77 61 72 64 20 6f | 6e 74 6f 00 00 06 00 00 |orward o|nto.....|
|00004be0| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 05 c3 |.....d..|ONLN.d..|
|00004bf0| 02 0b 00 5a 02 17 01 47 | 00 28 02 14 00 5a 33 74 |...Z...G|.(...Z3t|
|00004c00| 68 65 20 73 74 61 6e 64 | 61 72 64 20 74 72 61 63 |he stand|ard trac|
|00004c10| 6b 20 6f 66 20 64 6f 63 | 75 6d 65 6e 74 73 2e 20 |k of doc|uments. |
|00004c20| 20 54 68 65 72 65 20 69 | 73 20 61 6c 73 6f 20 61 | There i|s also a|
|00004c30| 6e 20 00 06 00 01 00 00 | 00 a1 00 64 00 10 4f 4e |n ......|...d..ON|
|00004c40| 4c 4e 00 64 05 f6 02 0b | 01 47 02 17 02 1c 00 29 |LN.d....|.G.....)|
|00004c50| ed 2a 69 6e 66 6f 72 6d | 61 74 69 6f 6e 61 6c 20 |.*inform|ational |
|00004c60| 52 46 43 20 74 68 61 74 | 20 64 65 73 63 72 69 62 |RFC that| describ|
|00004c70| 65 73 20 77 68 61 74 20 | 6d 75 73 74 00 06 00 00 |es what |must....|
|00004c80| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 06 21 |.....d..|ONLN.d.!|
|00004c90| 02 17 00 5a 02 23 01 9b | 00 28 02 20 00 5a 42 62 |...Z.#..|.(. .ZBb|
|00004ca0| 65 20 64 65 66 69 6e 65 | 64 20 74 6f 20 61 6c 6c |e define|d to all|
|00004cb0| 6f 77 20 53 4e 4d 50 20 | 74 6f 20 72 75 6e 20 6f |ow SNMP |to run o|
|00004cc0| 76 65 72 20 61 6e 79 20 | 70 61 72 74 69 63 75 6c |ver any |particul|
|00004cd0| 61 72 20 6e 65 74 77 6f | 72 6b 20 73 74 61 63 6b |ar netwo|rk stack|
|00004ce0| 2e 00 00 06 00 01 00 00 | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00004cf0| 4c 4e 00 64 06 64 02 2f | 00 5a 02 3b 01 68 00 2a |LN.d.d./|.Z.;.h.*|
|00004d00| 18 34 41 70 70 6c 65 20 | 70 72 6f 76 69 64 65 73 |.4Apple |provides|
|00004d10| 20 53 4e 4d 50 20 74 72 | 61 6e 73 70 6f 72 74 73 | SNMP tr|ansports|
|00004d20| 20 74 68 61 74 20 73 75 | 70 70 6f 72 74 20 74 68 | that su|pport th|
|00004d30| 65 20 54 43 50 20 00 06 | 00 02 00 00 00 a1 00 64 |e TCP ..|.......d|
|00004d40| 00 10 4f 4e 4c 4e 00 64 | 06 98 02 2f 01 68 02 3b |..ONLN.d|.../.h.;|
|00004d50| 02 1c 00 28 02 38 01 68 | 23 73 74 61 63 6b 20 61 |...(.8.h|#stack a|
|00004d60| 6e 64 20 74 68 65 20 41 | 70 70 6c 65 54 61 6c 6b |nd the A|ppleTalk|
|00004d70| 20 73 74 61 63 6b 2e 20 | 20 54 68 65 00 06 00 00 | stack. | The....|
|00004d80| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 06 bc |.....d..|ONLN.d..|
|00004d90| 02 3b 00 5a 02 47 01 9c | 00 28 02 44 00 5a 3f 54 |.;.Z.G..|.(.D.Z?T|
|00004da0| 43 50 20 53 4e 4d 50 20 | 54 72 61 6e 73 70 6f 72 |CP SNMP |Transpor|
|00004db0| 74 20 70 72 6f 76 69 64 | 65 73 20 6b 6e 6f 77 6c |t provid|es knowl|
|00004dc0| 65 64 67 65 20 6f 66 20 | 49 50 20 61 64 64 72 65 |edge of |IP addre|
|00004dd0| 73 73 65 73 2c 20 6c 69 | 73 74 65 6e 73 20 00 06 |sses, li|stens ..|
|00004de0| 00 01 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004df0| 06 fb 02 3b 01 9c 02 47 | 02 1c 00 28 02 44 01 9c |...;...G|...(.D..|
|00004e00| 16 6f 6e 20 74 68 65 20 | 77 65 6c 6c 2d 6b 6e 6f |.on the |well-kno|
|00004e10| 77 6e 20 53 4e 4d 50 00 | 00 06 00 02 00 00 00 a1 |wn SNMP.|........|
|00004e20| 00 64 00 10 4f 4e 4c 4e | 00 64 07 12 02 47 00 5a |.d..ONLN|.d...G.Z|
|00004e30| 02 53 01 9b 00 28 02 50 | 00 5a 3b 73 6f 63 6b 65 |.S...(.P|.Z;socke|
|00004e40| 74 73 2c 20 73 65 6e 64 | 73 20 53 4e 4d 50 20 70 |ts, send|s SNMP p|
|00004e50| 61 63 6b 65 74 73 20 6f | 6e 20 55 44 50 2c 20 61 |ackets o|n UDP, a|
|00004e60| 6e 64 20 72 65 73 6f 6c | 76 65 73 20 61 64 64 72 |nd resol|ves addr|
|00004e70| 65 73 73 65 73 20 00 06 | 00 03 00 00 00 a1 00 64 |esses ..|.......d|
|00004e80| 00 10 4f 4e 4c 4e 00 64 | 07 4d 02 47 01 9b 02 53 |..ONLN.d|.M.G...S|
|00004e90| 02 1c 00 28 02 50 01 9b | 1a 69 6e 20 64 6f 74 74 |...(.P..|.in dott|
|00004ea0| 65 64 20 6e 6f 74 61 74 | 69 6f 6e 20 69 6e 74 6f |ed notat|ion into|
|00004eb0| 20 49 50 00 00 06 00 00 | 00 00 00 a1 00 64 00 10 | IP.....|.....d..|
|00004ec0| 4f 4e 4c 4e 00 64 07 68 | 02 54 00 5a 02 60 00 c4 |ONLN.d.h|.T.Z.`..|
|00004ed0| 00 28 02 5d 00 5a 16 61 | 64 64 72 65 73 73 65 73 |.(.].Z.a|ddresses|
|00004ee0| 20 66 6f 72 20 73 65 6e | 64 69 6e 67 20 00 00 2c | for sen|ding ..,|
|00004ef0| 00 0a 00 16 07 43 6f 75 | 72 69 65 72 00 03 00 16 |.....Cou|rier....|
|00004f00| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 07 7e 02 53 |...d..ON|LN.d.~.S|
|00004f10| 00 c4 02 5f 00 e7 00 29 | 6a 05 54 72 61 70 73 00 |..._...)|j.Traps.|
|00004f20| 00 03 00 14 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004f30| 07 83 02 54 00 e7 02 60 | 01 5e 00 29 23 16 2e 20 |...T...`|.^.)#.. |
|00004f40| 20 54 68 65 20 41 70 70 | 6c 65 54 61 6c 6b 20 53 | The App|leTalk S|
|00004f50| 4e 4d 50 20 00 06 00 01 | 00 00 00 a1 00 64 00 10 |NMP ....|.....d..|
|00004f60| 4f 4e 4c 4e 00 64 07 99 | 02 54 01 5e 02 60 02 1c |ONLN.d..|.T.^.`..|
|00004f70| 00 29 77 25 54 72 61 6e | 73 70 6f 72 74 20 6c 69 |.)w%Tran|sport li|
|00004f80| 6b 65 77 69 73 65 20 70 | 72 6f 76 69 64 65 73 20 |kewise p|rovides |
|00004f90| 6b 6e 6f 77 6c 65 64 67 | 65 00 00 a1 00 64 00 10 |knowledg|e....d..|
|00004fa0| 4f 4e 4c 4e 00 64 07 bf | 02 60 00 5a 02 6c 01 e8 |ONLN.d..|.`.Z.l..|
|00004fb0| 00 28 02 69 00 5a 4b 6f | 66 20 41 70 70 6c 65 54 |.(.i.ZKo|f AppleT|
|00004fc0| 61 6c 6b 20 61 64 64 72 | 65 73 73 65 73 2c 20 6c |alk addr|esses, l|
|00004fd0| 69 73 74 65 6e 73 20 6f | 6e 20 74 68 65 20 77 65 |istens o|n the we|
|00004fe0| 6c 6c 2d 6b 6e 6f 77 6e | 20 53 4e 4d 50 20 73 6f |ll-known| SNMP so|
|00004ff0| 63 6b 65 74 73 2c 20 73 | 65 6e 64 73 20 53 4e 4d |ckets, s|ends SNM|
|00005000| 50 20 00 06 00 02 00 00 | 00 a1 00 64 00 10 4f 4e |P ......|...d..ON|
|00005010| 4c 4e 00 64 08 0a 02 60 | 01 e8 02 6c 02 1c 00 28 |LN.d...`|...l...(|
|00005020| 02 69 01 e8 0a 70 61 63 | 6b 65 74 73 20 6f 6e 00 |.i...pac|kets on.|
|00005030| 00 06 00 03 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00005040| 00 64 08 15 02 6c 00 5a | 02 78 01 03 00 28 02 75 |.d...l.Z|.x...(.u|
|00005050| 00 5a 1c 44 44 50 2c 20 | 61 6e 64 20 72 65 73 6f |.Z.DDP, |and reso|
|00005060| 6c 76 65 73 20 4e 42 50 | 20 28 4e 61 6d 65 20 00 |lves NBP| (Name .|
|00005070| 00 06 00 04 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00005080| 00 64 08 31 02 6c 01 03 | 02 78 02 1c 00 29 a9 34 |.d.1.l..|.x...).4|
|00005090| 42 69 6e 64 69 6e 67 20 | 50 72 6f 74 6f 63 6f 6c |Binding |Protocol|
|000050a0| 29 20 6e 61 6d 65 73 20 | 69 6e 74 6f 20 41 70 70 |) names |into App|
|000050b0| 6c 65 54 61 6c 6b 20 61 | 64 64 72 65 73 73 65 73 |leTalk a|ddresses|
|000050c0| 20 66 6f 72 00 06 00 03 | 00 00 00 a1 00 64 00 10 | for....|.....d..|
|000050d0| 4f 4e 4c 4e 00 64 08 66 | 02 79 00 5a 02 85 00 85 |ONLN.d.f|.y.Z....|
|000050e0| 00 28 02 82 00 5a 08 73 | 65 6e 64 69 6e 67 20 00 |.(...Z.s|ending .|
|000050f0| 00 03 00 16 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005100| 08 6e 02 78 00 85 02 84 | 00 a8 00 29 2b 05 54 72 |.n.x....|...)+.Tr|
|00005110| 61 70 73 00 00 03 00 14 | 00 a1 00 64 00 10 4f 4e |aps.....|...d..ON|
|00005120| 4c 4e 00 64 08 73 02 79 | 00 a8 02 85 02 04 00 29 |LN.d.s.y|.......)|
|00005130| 23 3f 2e 20 20 53 69 6d | 69 6c 61 72 6c 79 2c 20 |#?. Sim|ilarly, |
|00005140| 61 20 6e 65 77 20 53 4e | 4d 50 20 54 72 61 6e 73 |a new SN|MP Trans|
|00005150| 70 6f 72 74 20 77 6f 75 | 6c 64 20 68 61 76 65 20 |port wou|ld have |
|00005160| 74 6f 20 70 72 6f 76 69 | 64 65 20 74 68 65 73 65 |to provi|de these|
|00005170| 20 00 00 06 00 04 00 00 | 00 a1 00 64 00 10 4f 4e | .......|...d..ON|
|00005180| 4c 4e 00 64 08 b2 02 79 | 02 04 02 85 02 1c 00 28 |LN.d...y|.......(|
|00005190| 02 82 02 04 04 73 61 6d | 65 00 00 06 00 02 00 00 |.....sam|e.......|
|000051a0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 08 b7 02 85 |...d..ON|LN.d....|
|000051b0| 00 5a 02 91 00 fc 00 28 | 02 8e 00 5a 20 73 65 72 |.Z.....(|...Z ser|
|000051c0| 76 69 63 65 73 3a 20 75 | 6e 64 65 72 73 74 61 6e |vices: u|nderstan|
|000051d0| 64 69 6e 67 20 74 68 65 | 20 6e 65 77 20 00 00 06 |ding the| new ...|
|000051e0| 00 03 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000051f0| 08 d7 02 85 00 fc 02 91 | 02 1c 00 29 a2 36 6e 65 |........|...).6ne|
|00005200| 74 77 6f 72 6b 20 61 64 | 64 72 65 73 73 65 73 2c |twork ad|dresses,|
|00005210| 20 6c 69 73 74 65 6e 69 | 6e 67 20 66 6f 72 20 53 | listeni|ng for S|
|00005220| 4e 4d 50 20 70 61 63 6b | 65 74 73 2c 20 73 65 6e |NMP pack|ets, sen|
|00005230| 64 69 6e 67 00 06 00 02 | 00 00 00 a1 00 64 00 10 |ding....|.....d..|
|00005240| 4f 4e 4c 4e 00 64 09 0e | 02 91 00 5a 02 9d 01 15 |ONLN.d..|...Z....|
|00005250| 00 28 02 9a 00 5a 23 53 | 4e 4d 50 20 70 61 63 6b |.(...Z#S|NMP pack|
|00005260| 65 74 73 2c 20 61 6e 64 | 20 72 65 73 6f 6c 76 69 |ets, and| resolvi|
|00005270| 6e 67 20 73 74 6f 72 65 | 64 20 00 06 00 03 00 00 |ng store|d ......|
|00005280| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 09 31 02 91 |...d..ON|LN.d.1..|
|00005290| 01 15 02 9d 02 1c 00 29 | bb 32 63 6f 6e 73 6f 6c |.......)|.2consol|
|000052a0| 65 20 61 64 64 72 65 73 | 73 65 73 20 74 6f 20 6e |e addres|ses to n|
|000052b0| 65 74 77 6f 72 6b 20 61 | 64 64 72 65 73 73 65 73 |etwork a|ddresses|
|000052c0| 20 66 6f 72 20 73 65 6e | 64 69 6e 67 00 03 00 16 | for sen|ding....|
|000052d0| 00 06 00 00 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|000052e0| 00 64 09 64 02 9d 00 5a | 02 a9 00 7d 00 28 02 a7 |.d.d...Z|...}.(..|
|000052f0| 00 5a 05 54 72 61 70 73 | 00 03 00 14 00 a1 00 64 |.Z.Traps|.......d|
|00005300| 00 10 4f 4e 4c 4e 00 64 | 09 69 02 9e 00 7d 02 aa |..ONLN.d|.i...}..|
|00005310| 00 81 00 29 23 01 2e 00 | 00 20 02 d7 00 58 02 d7 |...)#...|. ...X..|
|00005320| 02 1d 00 0d 00 0a 00 28 | 02 ec 00 5a 0f 53 4e 4d |.......(|...Z.SNM|
|00005330| 50 20 54 72 61 6e 73 70 | 6f 72 74 73 00 28 02 ec |P Transp|orts.(..|
|00005340| 02 04 01 31 00 29 05 05 | 20 6f 66 20 38 00 00 ff |...1.)..| of 8...|
|00005350| 00 a1 00 c0 01 f4 25 25 | 44 53 49 44 49 43 54 3a |......%%|DSIDICT:|
|00005360| 5f 63 76 0d 63 75 72 72 | 65 6e 74 64 69 63 74 20 |_cv.curr|entdict |
|00005370| 2f 62 75 20 6b 6e 6f 77 | 6e 20 7b 62 75 7d 69 66 |/bu know|n {bu}if|
|00005380| 0d 75 73 65 72 64 69 63 | 74 20 2f 5f 63 76 20 6b |.userdic|t /_cv k|
|00005390| 6e 6f 77 6e 20 6e 6f 74 | 7b 75 73 65 72 64 69 63 |nown not|{userdic|
|000053a0| 74 20 2f 5f 63 76 20 33 | 30 20 64 69 63 74 20 70 |t /_cv 3|0 dict p|
|000053b0| 75 74 7d 69 66 0d 5f 63 | 76 20 62 65 67 69 6e 0d |ut}if._c|v begin.|
|000053c0| 2f 62 64 66 7b 62 69 6e | 64 20 64 65 66 7d 62 69 |/bdf{bin|d def}bi|
|000053d0| 6e 64 20 64 65 66 0d 63 | 75 72 72 65 6e 74 73 63 |nd def.c|urrentsc|
|000053e0| 72 65 65 6e 2f 63 73 20 | 65 78 63 68 20 64 65 66 |reen/cs |exch def|
|000053f0| 2f 63 61 20 65 78 63 68 | 20 64 65 66 2f 63 66 20 |/ca exch| def/cf |
|00005400| 65 78 63 68 20 64 65 66 | 0d 2f 73 65 74 63 6d 79 |exch def|./setcmy|
|00005410| 6b 63 6f 6c 6f 72 20 77 | 68 65 72 65 7b 2f 73 65 |kcolor w|here{/se|
|00005420| 74 63 6d 79 6b 63 6f 6c | 6f 72 20 67 65 74 20 2f |tcmykcol|or get /|
|00005430| 63 76 63 6d 79 6b 20 65 | 78 63 68 20 64 65 66 7d |cvcmyk e|xch def}|
|00005440| 7b 2f 63 76 63 6d 79 6b | 7b 31 20 73 75 62 20 34 |{/cvcmyk|{1 sub 4|
|00005450| 20 31 20 72 6f 6c 6c 20 | 33 7b 33 20 69 6e 64 65 | 1 roll |3{3 inde|
|00005460| 78 20 61 64 64 20 6e 65 | 67 20 64 75 70 20 30 20 |x add ne|g dup 0 |
|00005470| 6c 74 7b 70 6f 70 20 30 | 7d 69 66 20 33 20 31 20 |lt{pop 0|}if 3 1 |
|00005480| 72 6f 6c 6c 7d 72 65 70 | 65 61 74 20 73 65 74 72 |roll}rep|eat setr|
|00005490| 67 62 63 6f 6c 6f 72 20 | 70 6f 70 7d 62 64 66 20 |gbcolor |pop}bdf |
|000054a0| 7d 69 66 65 6c 73 65 0d | 2f 73 73 7b 2f 2f 63 66 |}ifelse.|/ss{//cf|
|000054b0| 20 2f 2f 63 61 20 2f 2f | 63 73 20 73 65 74 73 63 | //ca //|cs setsc|
|000054c0| 72 65 65 6e 7d 62 64 66 | 0d 2f 73 74 67 7b 73 73 |reen}bdf|./stg{ss|
|000054d0| 20 73 65 74 67 72 61 79 | 7d 62 64 66 0d 2f 73 74 | setgray|}bdf./st|
|000054e0| 72 67 62 7b 73 73 20 73 | 65 74 72 67 62 63 6f 6c |rgb{ss s|etrgbcol|
|000054f0| 6f 72 7d 62 64 66 0d 2f | 73 74 63 6d 79 6b 7b 73 |or}bdf./|stcmyk{s|
|00005500| 73 20 63 76 63 6d 79 6b | 7d 62 64 66 0d 2f 6d 69 |s cvcmyk|}bdf./mi|
|00005510| 6e 31 7b 64 75 70 20 30 | 20 65 71 7b 70 6f 70 20 |n1{dup 0| eq{pop |
|00005520| 31 7d 69 66 7d 62 64 66 | 0d 65 6e 64 0d 63 75 72 |1}if}bdf|.end.cur|
|00005530| 72 65 6e 74 64 69 63 74 | 20 2f 62 6e 20 6b 6e 6f |rentdict| /bn kno|
|00005540| 77 6e 20 7b 62 6e 7d 69 | 66 0d 00 a0 00 bf 12 3c |wn {bn}i|f......<|
|00005550| 00 00 00 00 03 48 02 52 | 00 11 02 ff 0c 00 ff ff |.....H.R|........|
|00005560| ff ff 00 00 00 00 00 00 | 00 00 02 52 00 00 03 48 |........|...R...H|
|00005570| 00 00 00 00 00 00 00 1e | 00 01 00 0a 00 00 00 00 |........|........|
|00005580| 03 49 02 52 00 2c 00 08 | 00 14 05 54 69 6d 65 73 |.I.R.,..|...Times|
|00005590| 00 03 00 14 00 0d 00 0a | 00 2e 00 04 00 00 00 00 |........|........|
|000055a0| 00 2b 36 2d 19 4d 61 63 | 69 6e 74 6f 73 68 20 54 |.+6-.Mac|intosh T|
|000055b0| 65 63 68 6e 69 63 61 6c | 20 4e 6f 74 65 73 00 20 |echnical| Notes. |
|000055c0| 00 2f 00 34 00 2f 01 f9 | 00 04 01 00 00 0d 00 0e |./.4./..|........|
|000055d0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 00 00 3f |...d..ON|LN.d...?|
|000055e0| 00 36 00 4e 00 ac 00 2a | 1e 0f 53 4e 4d 50 20 54 |.6.N...*|..SNMP T|
|000055f0| 72 61 6e 73 70 6f 72 74 | 73 00 00 a0 00 82 00 a0 |ransport|s.......|
|00005600| 00 8c 00 a0 00 8c 00 01 | 00 0a 00 5d 00 51 01 fb |........|...].Q..|
|00005610| 01 dd 00 07 00 04 00 04 | 00 20 01 ef 01 cd 01 ef |........|. ......|
|00005620| 00 b3 00 22 01 ef 00 b0 | a2 00 00 07 00 01 00 01 |..."....|........|
|00005630| 00 22 01 d8 00 a9 00 13 | 00 09 00 00 00 00 00 00 |."......|........|
|00005640| 00 00 00 31 01 e9 00 9e | 01 fb 00 b4 00 09 ff ff |...1....|........|
|00005650| ff ff ff ff ff ff 00 38 | 00 a0 00 8d 00 a0 00 8c |.......8|........|
|00005660| 00 09 00 00 00 00 00 00 | 00 00 00 31 01 64 00 70 |........|...1.d.p|
|00005670| 01 8a 00 c6 00 07 00 02 | 00 02 00 09 ff ff ff ff |........|........|
|00005680| ff ff ff ff 00 30 01 63 | 00 6f 01 8b 00 c7 00 a1 |.....0.c|.o......|
|00005690| 00 96 00 0c 02 00 00 00 | 02 00 00 00 00 00 00 00 |........|........|
|000056a0| 00 a1 00 9a 00 08 00 03 | 00 00 00 18 00 00 00 01 |........|........|
|000056b0| 00 0a 01 6a 00 84 01 84 | 00 b6 00 2c 00 0b 00 10 |...j....|...,....|
|000056c0| 08 50 61 6c 61 74 69 6e | 6f 00 00 03 00 10 00 04 |.Palatin|o.......|
|000056d0| 00 00 00 0d 00 0c 00 2e | 00 04 00 00 01 00 00 10 |........|........|
|000056e0| 01 9e 01 8c 01 9e 01 8c | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|000056f0| 4c 4e 00 64 ff ff 00 00 | 00 00 00 00 00 00 00 28 |LN.d....|.......(|
|00005700| 01 74 00 85 08 4e 65 74 | 77 6f 72 6b 0d 00 00 15 |.t...Net|work....|
|00005710| 17 c0 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 ff ff |.....d..|ONLN.d..|
|00005720| 00 00 00 00 00 00 00 00 | 00 2b 09 0e 05 4c 61 79 |........|.+...Lay|
|00005730| 65 72 00 a0 00 97 00 01 | 00 0a 00 5d 00 51 01 fb |er......|...].Q..|
|00005740| 01 dd 00 09 00 00 00 00 | 00 00 00 00 00 31 01 8a |........|.....1..|
|00005750| 00 70 01 b0 00 c6 00 09 | ff ff ff ff ff ff ff ff |.p......|........|
|00005760| 00 30 01 89 00 6f 01 b1 | 00 c7 00 a1 00 96 00 0c |.0...o..|........|
|00005770| 02 00 00 00 02 00 00 00 | 00 00 00 00 00 a1 00 9a |........|........|
|00005780| 00 08 00 03 00 00 00 18 | 00 00 00 01 00 0a 01 90 |........|........|
|00005790| 00 83 01 ab 00 b7 00 15 | 93 80 00 a1 00 64 00 10 |........|.....d..|
|000057a0| 4f 4e 4c 4e 00 64 ff ff | 00 00 00 00 00 00 00 00 |ONLN.d..|........|
|000057b0| 00 28 01 9a 00 84 09 44 | 61 74 61 4c 69 6e 6b 0d |.(.....D|ataLink.|
|000057c0| 00 15 3f 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |..?....d|..ONLN.d|
|000057d0| ff ff 00 00 00 00 00 00 | 00 00 00 2b 0a 0e 05 4c |........|...+...L|
|000057e0| 61 79 65 72 00 a0 00 97 | 00 01 00 0a 00 5d 00 51 |ayer....|.....].Q|
|000057f0| 01 fb 01 dd 00 09 00 00 | 00 00 00 00 00 00 00 31 |........|.......1|
|00005800| 01 b1 00 70 01 d7 00 c6 | 00 09 ff ff ff ff ff ff |...p....|........|
|00005810| ff ff 00 30 01 b0 00 6f | 01 d8 00 c7 00 a1 00 96 |...0...o|........|
|00005820| 00 0c 02 00 00 00 02 00 | 00 00 00 00 00 00 00 a1 |........|........|
|00005830| 00 9a 00 08 00 02 00 00 | 00 16 00 00 00 01 00 0a |........|........|
|00005840| 01 b7 00 86 01 d1 00 b4 | 00 15 ba c0 00 a1 00 64 |........|.......d|
|00005850| 00 10 4f 4e 4c 4e 00 64 | ff ff 00 00 00 00 00 00 |..ONLN.d|........|
|00005860| 00 00 00 28 01 c1 00 87 | 09 50 68 79 73 69 63 61 |...(....|.Physica|
|00005870| 6c 0d 00 15 04 80 00 a1 | 00 64 00 10 4f 4e 4c 4e |l.......|.d..ONLN|
|00005880| 00 64 ff ff 00 00 00 00 | 00 00 00 00 00 2b 07 0e |.d......|.....+..|
|00005890| 05 4c 61 79 65 72 00 a0 | 00 97 00 a0 00 8d 00 a0 |.Layer..|........|
|000058a0| 00 8c 00 01 00 0a 00 5d | 00 51 01 fb 01 dd 00 09 |.......]|.Q......|
|000058b0| 00 00 00 00 00 00 00 00 | 00 31 00 fa 00 70 01 36 |........|.1...p.6|
|000058c0| 00 c6 00 09 ff ff ff ff | ff ff ff ff 00 30 00 f9 |........|.....0..|
|000058d0| 00 6f 01 37 00 c7 00 a1 | 00 96 00 0c 02 00 00 00 |.o.7....|........|
|000058e0| 02 00 00 00 00 00 00 00 | 00 a1 00 9a 00 08 00 0b |........|........|
|000058f0| 00 00 00 11 00 00 00 01 | 00 0a 01 02 00 72 01 2c |........|.....r.,|
|00005900| 00 c3 00 15 80 40 00 a1 | 00 64 00 10 4f 4e 4c 4e |.....@..|.d..ONLN|
|00005910| 00 64 ff ff 00 00 00 00 | 00 00 00 00 00 28 01 0c |.d......|.....(..|
|00005920| 00 89 05 53 4e 4d 50 0d | 00 15 5d 40 00 a1 00 64 |...SNMP.|..]@...d|
|00005930| 00 10 4f 4e 4c 4e 00 64 | ff ff 00 00 00 00 00 00 |..ONLN.d|........|
|00005940| 00 00 00 28 01 1a 00 80 | 0a 54 72 61 6e 73 70 6f |...(....|.Transpo|
|00005950| 72 74 0d 00 00 15 ee 80 | 00 a1 00 64 00 10 4f 4e |rt......|...d..ON|
|00005960| 4c 4e 00 64 ff ff 00 00 | 00 00 00 00 00 00 00 2b |LN.d....|.......+|
|00005970| 03 0e 08 53 75 62 43 6c | 61 73 73 00 00 a0 00 97 |...SubCl|ass.....|
|00005980| 00 a0 00 8d 00 a1 00 64 | 00 0a 4d 44 50 4c 00 09 |.......d|..MDPL..|
|00005990| 00 01 00 03 00 a0 00 8c | 00 01 00 0a 00 5d 00 51 |........|.....].Q|
|000059a0| 01 fb 01 dd 00 71 00 1e | 00 ce 00 97 00 dc 00 9f |.....q..|........|
|000059b0| 00 ce 00 9b 00 dc 00 9f | 00 dc 00 9b 00 dc 00 97 |........|........|
|000059c0| 00 ce 00 9b 00 71 00 1e | 00 ee 00 97 00 fc 00 9f |.....q..|........|
|000059d0| 00 fc 00 9b 00 ee 00 97 | 00 ee 00 9b 00 ee 00 9f |........|........|
|000059e0| 00 fc 00 9b 00 07 00 01 | 00 01 00 22 00 dc 00 9b |........|..."....|
|000059f0| 00 12 00 a0 00 8d 00 a1 | 00 64 00 08 4d 44 50 4c |........|.d..MDPL|
|00005a00| 00 0a 00 00 00 a1 00 64 | 00 0a 4d 44 50 4c 00 09 |.......d|..MDPL..|
|00005a10| 00 01 00 03 00 a0 00 8c | 00 71 00 1e 01 37 00 96 |........|.q...7..|
|00005a20| 01 45 00 9e 01 37 00 9a | 01 45 00 9e 01 45 00 9a |.E...7..|.E...E..|
|00005a30| 01 45 00 96 01 37 00 9a | 00 71 00 1e 01 57 00 96 |.E...7..|.q...W..|
|00005a40| 01 65 00 9e 01 65 00 9a | 01 57 00 96 01 57 00 9a |.e...e..|.W...W..|
|00005a50| 01 57 00 9e 01 65 00 9a | 00 22 01 45 00 9a 00 12 |.W...e..|.".E....|
|00005a60| 00 a0 00 8d 00 a1 00 64 | 00 08 4d 44 50 4c 00 0a |.......d|..MDPL..|
|00005a70| 00 00 00 a0 00 8c 00 07 | 00 02 00 02 00 30 00 5e |........|.....0.^|
|00005a80| 00 6e 00 cf 01 57 00 a1 | 00 96 00 0c 02 00 00 00 |.n...W..|........|
|00005a90| 02 00 00 00 00 00 00 00 | 00 a1 00 9a 00 08 ff fb |........|........|
|00005aa0| 00 00 00 31 00 00 00 01 | 00 0a 00 6f 00 7a 00 7f |...1....|...o.z..|
|00005ab0| 00 df 00 0d 00 0e 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00005ac0| 00 64 ff ff 00 00 00 00 | 00 00 00 00 00 28 00 7b |.d......|.....(.{|
|00005ad0| 00 7b 0c 53 4e 4d 50 20 | 4d 61 6e 61 67 65 72 00 |.{.SNMP |Manager.|
|00005ae0| 00 a0 00 97 00 a0 00 8c | 00 01 00 0a 00 5d 00 51 |........|.....].Q|
|00005af0| 01 fb 01 dd 00 09 00 00 | 00 00 00 00 00 00 00 31 |........|.......1|
|00005b00| 00 92 00 6f 00 ce 00 c3 | 00 09 ff ff ff ff ff ff |...o....|........|
|00005b10| ff ff 00 30 00 91 00 6e | 00 cf 00 c4 00 a1 00 96 |...0...n|........|
|00005b20| 00 0c 02 00 00 00 02 00 | 00 00 00 00 00 00 00 a1 |........|........|
|00005b30| 00 9a 00 08 00 04 00 00 | 00 11 00 00 00 01 00 0a |........|........|
|00005b40| 00 a0 00 70 00 bc 00 c1 | 00 0d 00 0c 00 15 12 80 |...p....|........|
|00005b50| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 ff ff 00 00 |...d..ON|LN.d....|
|00005b60| 00 00 00 00 00 00 00 2b | 0c 2f 05 53 4e 4d 50 0d |.......+|./.SNMP.|
|00005b70| 00 15 ef 80 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005b80| ff ff 00 00 00 00 00 00 | 00 00 00 28 00 b8 00 7e |........|...(...~|
|00005b90| 09 54 72 61 6e 73 70 6f | 72 74 00 a0 00 97 00 a0 |.Transpo|rt......|
|00005ba0| 00 8d 00 a0 00 8c 00 01 | 00 0a 00 5d 00 51 01 fb |........|...].Q..|
|00005bb0| 01 dd 00 09 00 00 00 00 | 00 00 00 00 00 31 00 92 |........|.....1..|
|00005bc0| 00 c2 00 ce 01 07 00 09 | ff ff ff ff ff ff ff ff |........|........|
|00005bd0| 00 30 00 91 00 c1 00 cf | 01 08 00 a1 00 96 00 0c |.0......|........|
|00005be0| 02 00 00 00 02 00 00 00 | 00 00 00 00 00 a1 00 9a |........|........|
|00005bf0| 00 08 00 04 00 00 00 10 | 00 00 00 01 00 0a 00 a0 |........|........|
|00005c00| 00 c3 00 bc 01 05 00 15 | 80 c0 00 a1 00 64 00 10 |........|.....d..|
|00005c10| 4f 4e 4c 4e 00 64 ff ff | 00 00 00 00 00 00 00 00 |ONLN.d..|........|
|00005c20| 00 28 00 aa 00 d3 05 53 | 4e 4d 50 0d 00 15 5d c0 |.(.....S|NMP...].|
|00005c30| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 ff ff 00 00 |...d..ON|LN.d....|
|00005c40| 00 00 00 00 00 00 00 2b | 01 0e 05 41 67 65 6e 74 |.......+|...Agent|
|00005c50| 00 a0 00 97 00 a0 00 8d | 00 01 00 0a 00 5d 00 51 |........|.....].Q|
|00005c60| 01 fb 01 dd 00 22 00 91 | 01 21 e6 00 00 a1 00 96 |....."..|.!......|
|00005c70| 00 0c 02 00 00 00 02 00 | 00 00 00 00 00 00 00 a1 |........|........|
|00005c80| 00 9a 00 08 00 0b 00 00 | 00 10 00 00 00 01 00 0a |........|........|
|00005c90| 00 9c 01 18 00 c6 01 49 | 00 a1 00 64 00 10 4f 4e |.......I|...d..ON|
|00005ca0| 4c 4e 00 64 ff ff 00 00 | 00 00 00 00 00 00 00 28 |LN.d....|.......(|
|00005cb0| 00 a6 01 20 07 4f 74 68 | 65 72 20 0d 00 15 4e 40 |... .Oth|er ...N@|
|00005cc0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 ff ff 00 00 |...d..ON|LN.d....|
|00005cd0| 00 00 00 00 00 00 00 28 | 00 b4 01 1e 07 53 68 61 |.......(|.....Sha|
|00005ce0| 72 65 64 0d 00 15 66 00 | 00 a1 00 64 00 10 4f 4e |red...f.|...d..ON|
|00005cf0| 4c 4e 00 64 ff ff 00 00 | 00 00 00 00 00 00 00 28 |LN.d....|.......(|
|00005d00| 00 c2 01 19 09 4c 69 62 | 72 61 72 69 65 73 00 a0 |.....Lib|raries..|
|00005d10| 00 97 00 a0 00 8d 00 a1 | 00 96 00 0c 01 00 00 00 |........|........|
|00005d20| 02 00 00 00 00 00 00 00 | 00 a1 00 9a 00 08 ff fb |........|........|
|00005d30| 00 00 00 3a 00 00 00 01 | 00 0a 00 8f 01 66 00 9f |...:....|.....f..|
|00005d40| 01 dc 00 0d 00 0e 00 15 | a6 00 00 a1 00 64 00 10 |........|.....d..|
|00005d50| 4f 4e 4c 4e 00 64 ff ff | 00 00 00 00 00 00 00 00 |ONLN.d..|........|
|00005d60| 00 28 00 9b 01 67 12 50 | 72 6f 76 69 64 65 64 20 |.(...g.P|rovided |
|00005d70| 4c 69 62 72 61 72 69 65 | 73 00 00 a0 00 97 00 a1 |Librarie|s.......|
|00005d80| 00 96 00 0c 01 00 00 00 | 02 00 00 00 00 00 00 00 |........|........|
|00005d90| 00 a1 00 9a 00 08 ff fb | 00 00 00 21 00 00 00 01 |........|...!....|
|00005da0| 00 0a 01 0d 01 6d 01 1d | 01 b2 00 15 ae 80 00 a1 |.....m..|........|
|00005db0| 00 64 00 10 4f 4e 4c 4e | 00 64 ff ff 00 00 00 00 |.d..ONLN|.d......|
|00005dc0| 00 00 00 00 00 2b 07 7e | 09 59 6f 75 72 20 43 6f |.....+.~|.Your Co|
|00005dd0| 64 65 00 a0 00 97 00 a1 | 00 96 00 0c 01 00 00 00 |de......|........|
|00005de0| 02 00 00 00 00 00 00 00 | 00 a1 00 9a 00 08 ff fc |........|........|
|00005df0| 00 00 00 2d 00 00 00 01 | 00 0a 01 8a 01 68 01 9a |...-....|.....h..|
|00005e00| 01 c5 00 15 f3 60 00 a1 | 00 64 00 10 4f 4e 4c 4e |.....`..|.d..ONLN|
|00005e10| 00 64 ff ff 00 00 00 00 | 00 00 00 00 00 28 01 96 |.d......|.....(..|
|00005e20| 01 69 0d 4e 65 74 77 6f | 72 6b 20 53 74 61 63 6b |.i.Netwo|rk Stack|
|00005e30| 00 a0 00 97 00 a1 00 d8 | 00 04 ff ff 80 00 00 a1 |........|........|
|00005e40| 00 d6 00 04 ff ff 80 00 | 00 a0 00 d7 00 a1 00 b4 |........|........|
|00005e50| 00 05 00 00 02 09 09 00 | 00 01 00 0a 00 5d 00 51 |........|.....].Q|
|00005e60| 01 fb 01 dd 00 07 00 01 | 00 01 00 08 00 17 00 20 |........|....... |
|00005e70| 00 e6 00 59 00 e6 01 da | 00 a0 00 b5 00 a1 00 d6 |...Y....|........|
|00005e80| 00 04 ff ff 80 00 00 a0 | 00 d7 00 a0 00 d9 00 a1 |........|........|
|00005e90| 00 d6 00 04 ff ff 80 00 | 00 a1 00 d8 00 04 ff ff |........|........|
|00005ea0| 80 00 00 a0 00 be 00 a0 | 00 d9 00 a0 00 8c 00 08 |........|........|
|00005eb0| 00 08 00 22 00 e6 00 59 | 08 00 00 22 00 e6 00 6b |..."...Y|..."...k|
|00005ec0| 08 00 00 22 00 e6 00 7d | 08 00 00 22 00 e6 00 8f |..."...}|..."....|
|00005ed0| 08 00 00 22 00 e6 00 a1 | 08 00 00 22 00 e6 00 b3 |..."....|..."....|
|00005ee0| 08 00 00 22 00 e6 00 c5 | 08 00 00 22 00 e6 00 d7 |..."....|..."....|
|00005ef0| 08 00 00 22 00 e6 00 e9 | 08 00 00 22 00 e6 00 fb |..."....|..."....|
|00005f00| 08 00 00 22 00 e6 01 0d | 08 00 00 22 00 e6 01 1f |..."....|..."....|
|00005f10| 08 00 00 22 00 e6 01 31 | 08 00 00 22 00 e6 01 43 |..."...1|..."...C|
|00005f20| 08 00 00 22 00 e6 01 55 | 08 00 00 22 00 e6 01 67 |..."...U|..."...g|
|00005f30| 08 00 00 22 00 e6 01 79 | 08 00 00 22 00 e6 01 8b |..."...y|..."....|
|00005f40| 08 00 00 22 00 e6 01 9d | 08 00 00 22 00 e6 01 af |..."....|..."....|
|00005f50| 08 00 00 22 00 e6 01 c1 | 08 00 00 22 00 e6 01 d3 |..."....|..."....|
|00005f60| 06 00 00 a0 00 8d 00 a1 | 00 d8 00 04 ff ff 80 00 |........|........|
|00005f70| 00 a0 00 bf 00 a0 00 d9 | 00 a0 00 d7 00 a1 00 64 |........|.......d|
|00005f80| 00 08 4d 44 50 4c 00 07 | 00 00 00 09 00 00 00 00 |..MDPL..|........|
|00005f90| 00 00 00 00 00 31 00 e0 | 01 38 00 ee 01 78 00 a1 |.....1..|.8...x..|
|00005fa0| 00 96 00 0c 01 00 00 00 | 02 00 00 00 00 00 00 00 |........|........|
|00005fb0| 00 a1 00 9a 00 08 ff fd | 00 00 00 1f 00 00 00 01 |........|........|
|00005fc0| 00 0a 00 e0 01 38 00 ee | 01 78 00 0d 00 0c 00 a1 |.....8..|.x......|
|00005fd0| 00 64 00 10 4f 4e 4c 4e | 00 64 ff ff 00 00 00 00 |.d..ONLN|.d......|
|00005fe0| 00 00 00 00 00 28 00 ea | 01 39 0b 54 72 61 6e 73 |.....(..|.9.Trans|
|00005ff0| 70 6f 72 74 2e 68 00 a0 | 00 97 00 a1 00 64 00 08 |port.h..|.....d..|
|00006000| 4d 44 50 4c 00 08 00 00 | 00 a1 00 d8 00 04 ff ff |MDPL....|........|
|00006010| 80 00 00 a1 00 d6 00 04 | ff ff 80 00 00 a0 00 d7 |........|........|
|00006020| 00 a1 00 b4 00 05 00 00 | 02 09 09 00 00 01 00 0a |........|........|
|00006030| 00 5d 00 51 01 fb 01 dd | 00 08 00 17 00 09 ff ff |.].Q....|........|
|00006040| ff ff ff ff ff ff 00 20 | 01 4e 00 58 01 4f 01 d4 |....... |.N.X.O..|
|00006050| 00 a0 00 b5 00 a1 00 d6 | 00 04 ff ff 80 00 00 a0 |........|........|
|00006060| 00 d7 00 a0 00 d9 00 a1 | 00 d6 00 04 ff ff 80 00 |........|........|
|00006070| 00 a1 00 d8 00 04 ff ff | 80 00 00 a0 00 be 00 a0 |........|........|
|00006080| 00 d9 00 a0 00 8c 00 08 | 00 08 00 22 01 4e 00 58 |........|...".N.X|
|00006090| 09 00 00 22 01 4e 00 6a | 09 00 00 22 01 4e 00 7c |...".N.j|...".N.||
|000060a0| 09 00 00 22 01 4e 00 8e | 09 00 00 22 01 4e 00 a0 |...".N..|...".N..|
|000060b0| 09 00 00 22 01 4e 00 b2 | 09 00 00 22 01 4e 00 c4 |...".N..|...".N..|
|000060c0| 09 00 00 22 01 4e 00 d6 | 09 00 00 22 01 4e 00 e8 |...".N..|...".N..|
|000060d0| 09 00 00 22 01 4e 00 fa | 09 00 00 22 01 4e 01 0c |...".N..|...".N..|
|000060e0| 09 00 00 22 01 4f 01 1e | 09 00 00 22 01 4f 01 30 |...".O..|...".O.0|
|000060f0| 09 00 00 22 01 4f 01 42 | 09 00 00 22 01 4f 01 54 |...".O.B|...".O.T|
|00006100| 09 00 00 22 01 4f 01 66 | 09 00 00 22 01 4f 01 78 |...".O.f|...".O.x|
|00006110| 09 00 00 22 01 4f 01 8a | 09 00 00 22 01 4f 01 9c |...".O..|...".O..|
|00006120| 09 00 00 22 01 4f 01 ae | 09 00 00 22 01 4f 01 c0 |...".O..|...".O..|
|00006130| 09 00 00 22 01 4f 01 d2 | 02 00 00 a0 00 8d 00 a1 |...".O..|........|
|00006140| 00 d8 00 04 ff ff 80 00 | 00 a0 00 bf 00 a0 00 d9 |........|........|
|00006150| 00 a0 00 d7 00 a1 00 64 | 00 08 4d 44 50 4c 00 07 |.......d|..MDPL..|
|00006160| 00 00 00 09 00 00 00 00 | 00 00 00 00 00 31 01 48 |........|.....1.H|
|00006170| 01 3a 01 56 01 9d 00 a1 | 00 96 00 0c 01 00 00 00 |.:.V....|........|
|00006180| 02 00 00 00 00 00 00 00 | 00 a1 00 9a 00 08 ff fd |........|........|
|00006190| 00 00 00 30 00 00 00 01 | 00 0a 01 48 01 3a 01 56 |...0....|...H.:.V|
|000061a0| 01 9d 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 ff ff |.....d..|ONLN.d..|
|000061b0| 00 00 00 00 00 00 00 00 | 00 2b 02 68 11 4e 65 74 |........|.+.h.Net|
|000061c0| 77 6f 72 6b 20 49 6e 74 | 65 72 66 61 63 65 00 a0 |work Int|erface..|
|000061d0| 00 97 00 a1 00 64 00 08 | 4d 44 50 4c 00 08 00 00 |.....d..|MDPL....|
|000061e0| 00 a0 00 8d 00 a0 00 83 | 00 01 00 0a 00 00 00 00 |........|........|
|000061f0| 03 49 02 52 00 03 00 14 | 00 04 01 00 00 2e 00 04 |.I.R....|........|
|00006200| 00 00 00 00 00 10 00 01 | 00 01 00 01 00 01 00 a1 |........|........|
|00006210| 00 64 00 10 4f 4e 4c 4e | 00 64 00 10 02 0a 00 49 |.d..ONLN|.d.....I|
|00006220| 02 16 01 e5 00 28 02 13 | 00 49 43 46 69 67 75 72 |.....(..|.ICFigur|
|00006230| 65 20 31 2e 20 41 6e 20 | 53 4e 4d 50 20 54 72 61 |e 1. An |SNMP Tra|
|00006240| 6e 73 70 6f 72 74 20 70 | 72 6f 76 69 64 65 73 20 |nsport p|rovides |
|00006250| 74 68 65 20 69 6e 74 65 | 72 66 61 63 65 20 62 65 |the inte|rface be|
|00006260| 74 77 65 65 6e 20 74 68 | 65 20 53 4e 4d 50 00 a1 |tween th|e SNMP..|
|00006270| 00 64 00 10 4f 4e 4c 4e | 00 64 00 54 02 16 00 a5 |.d..ONLN|.d.T....|
|00006280| 02 22 01 89 00 2b 5c 0c | 27 4d 61 6e 61 67 65 72 |."...+\.|'Manager|
|00006290| 20 61 6e 64 20 61 20 70 | 61 72 74 69 63 75 6c 61 | and a p|articula|
|000062a0| 72 20 6e 65 74 77 6f 72 | 6b 20 73 74 61 63 6b 2e |r networ|k stack.|
|000062b0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 7c 02 3a |...d..ON|LN.d.|.:|
|000062c0| 00 36 02 46 00 db 00 28 | 02 43 00 36 1a 43 72 65 |.6.F...(|.C.6.Cre|
|000062d0| 61 74 69 6e 67 20 61 6e | 20 53 4e 4d 50 20 54 72 |ating an| SNMP Tr|
|000062e0| 61 6e 73 70 6f 72 74 00 | 00 04 00 00 00 06 00 01 |ansport.|........|
|000062f0| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 97 |.....d..|ONLN.d..|
|00006300| 02 52 00 36 02 5e 01 7d | 00 2a 18 42 54 68 65 20 |.R.6.^.}|.*.BThe |
|00006310| 66 69 6c 65 20 54 72 61 | 6e 73 70 6f 72 74 2e 68 |file Tra|nsport.h|
|00006320| 20 64 65 66 69 6e 65 73 | 20 74 68 65 20 53 4e 4d | defines| the SNM|
|00006330| 50 20 54 72 61 6e 73 70 | 6f 72 74 20 63 6c 61 73 |P Transp|ort clas|
|00006340| 73 2e 20 20 54 6f 20 63 | 72 65 61 74 65 20 00 06 |s. To c|reate ..|
|00006350| 00 02 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00006360| 00 d9 02 52 01 7d 02 5e | 01 f8 00 28 02 5b 01 7d |...R.}.^|...(.[.}|
|00006370| 15 61 6e 20 53 4e 4d 50 | 20 54 72 61 6e 73 70 6f |.an SNMP| Transpo|
|00006380| 72 74 20 79 6f 75 00 06 | 00 00 00 00 00 a1 00 64 |rt you..|.......d|
|00006390| 00 10 4f 4e 4c 4e 00 64 | 00 ef 02 5e 00 36 02 6a |..ONLN.d|...^.6.j|
|000063a0| 01 61 00 28 02 67 00 36 | 3c 6d 75 73 74 20 73 75 |.a.(.g.6|<must su|
|000063b0| 62 63 6c 61 73 73 20 74 | 68 65 20 53 4e 4d 50 20 |bclass t|he SNMP |
|000063c0| 54 72 61 6e 73 70 6f 72 | 74 20 63 6c 61 73 73 2e |Transpor|t class.|
|000063d0| 20 20 54 68 65 20 53 68 | 61 72 65 64 20 4c 69 62 | The Sh|ared Lib|
|000063e0| 72 61 72 79 20 00 00 06 | 00 01 00 00 00 a1 00 64 |rary ...|.......d|
|000063f0| 00 10 4f 4e 4c 4e 00 64 | 01 2b 02 5e 01 61 02 6a |..ONLN.d|.+.^.a.j|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.